Commit graph

127523 commits

Author SHA1 Message Date
Tor Egge 2a99cc4322 Backout unblocking of signal if no threads can currently handle it.
The check for pending signal after direct invocation of signal handler
is sufficient.
2006-10-14 01:11:44 +00:00
Tom Rhodes 65fe4c0bfd Remove mention of "lomac" as it's been gone for a good while now (at least
two years).
2006-10-13 23:59:59 +00:00
David Xu 8042f26d52 o Make _thr_umutex_init a function.
o Eliminate unused parameter for some functions.
o Convert type of first parameter to void * for _thr_umtx_wait
  and _thr_umtx_wake.
2006-10-13 22:31:00 +00:00
Ruslan Ermilov 90c3810cda Define an empty C_DIALECT in case of "icc", just in case. 2006-10-13 22:29:06 +00:00
Ruslan Ermilov 74465532f6 - Remove include links only when .depend is also removed, so that
"make depend; make clean; make -n" works.

- Preseve kernel's .depend if it already exists and its creation
  is interrupted.

Reported/reviewed by:	bde
2006-10-13 22:28:14 +00:00
John Birrell 6a7d6d5826 Ignore the uart device. 2006-10-13 21:55:30 +00:00
John Birrell 2c86e568cb Remove a nmdm comment which ru@ thinks was no longer required. 2006-10-13 21:44:57 +00:00
John Birrell 2fe1d072b3 sun4v uses the sparc64 version of this file. 2006-10-13 21:30:18 +00:00
Tor Egge e0c33ad529 Wait for thread count to reach zero in destroy_devl() even when no purge
method is defined, to avoid memory being modified after free.

Temporarily increase refcount in destroy_devl() to avoid a double free
if dev_rel() is called while waiting for thread count to reach zero.
2006-10-13 20:49:24 +00:00
Ruslan Ermilov 675e8ac08c Replace a rarely used "depuration" with "debugging".
PR:		docs/85127
Submitted by:	Gary W. Swearingen (partially)
MFC after:	3 days
2006-10-13 20:48:17 +00:00
Ruslan Ermilov 39cbc61477 Make the SYNOPSIS section more meaningful.
PR:		docs/85066
Submitted by:	Gary W. Swearingen
MFC after:	3 days
2006-10-13 20:37:23 +00:00
Ruslan Ermilov 08e9f8c84f Forgot to bump the document date. 2006-10-13 20:34:44 +00:00
Ruslan Ermilov 531ba7c084 Some word smithing adopted from the PR.
PR:		docs/54451
Originally by:	Andreas Fuchs
Adopted by:	jhb
MFC after:	3 days
2006-10-13 20:28:58 +00:00
Tor Egge 081871afc8 Delay unblocking signal and restoring process signal mask until the
thread signal mask has been updated to avoid stack overflow during signal
bursts.

Don't block signal forever if no threads can currently handle signal.

Check for pending signal after direct invocation of signal handler.
2006-10-13 20:12:07 +00:00
Tor Egge c8b69d87c0 Delay setting wakeup time until after poll array has been allocated.
Blocking on the malloc spinlock would cause the select timeout to be lost.
2006-10-13 20:04:13 +00:00
Tor Egge ed5348ec19 Sync thread jump table with libc and other thread libraries. 2006-10-13 20:01:40 +00:00
Gleb Smirnoff 97ae0b9ca7 Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE option
and with some code that uses rwlock(9).
2006-10-13 19:43:35 +00:00
John Baldwin d3998dcf2e Move the 2 additional #includes down into the #ifndef DEV_ATPIC section. 2006-10-13 17:31:57 +00:00
Ruslan Ermilov bb361298a5 Document that unexpand(1)'s -a and -t options are exclusive.
PR:		docs/85063
2006-10-13 16:22:25 +00:00
Ruslan Ermilov 0414904d4c - Document all character classes our tr(1) supports. [1]
- Mention that some of them are POSIX extensions.  [2]

PR:		docs/85062 [1]
Submitted by:	Toby Peterson [1]
Obtained from:	wctype(3) [2]
MFC after:	3 days
2006-10-13 16:13:45 +00:00
Ruslan Ermilov 9a29fb3baf Add missing comma. 2006-10-13 16:11:12 +00:00
David E. O'Brien b5743d7434 Add Soekris Engineering information. 2006-10-13 15:51:53 +00:00
Ruslan Ermilov 476bfbd7c7 - Don't mention (wrong) defaults for FFS file system parameters,
replace them with references to newfs(8) which documents them.

- Remove mentions of LFS support for which was retired in 1998.

- Regenerate an example output.

PR:		docs/84913
MFC after:	3 days
2006-10-13 15:44:29 +00:00
Hajimu UMEMOTO e7e51bc3e1 Make net.inet6.ip6.auto_linklocal tunable. Someone may want to
enable/disable auto_linklocal even in single user mode.

Discussed with:	re@, gnn@
MFC after:	3 days
2006-10-13 12:45:53 +00:00
David Xu 0b90fa4ad0 Use type pthread_state for thread state. 2006-10-13 12:45:21 +00:00
Hajimu UMEMOTO f5c04409eb Revert the default value of net.inet6.ip6.auto_linklocal to 1.
If ipv6_enable is not set to "YES", net.inet6.ip6.auto_linklocal
is turned to 0 at boot.

Discussed with:	re@, gnn@
MFC after:	3 days
2006-10-13 12:41:36 +00:00
Gleb Smirnoff 06274cee44 - Before doing ioctl(SIOCGIFNETMASK) put the proper IP address into the ifreq,
to obtain correct netmask in case of interface with multiple aliases.
- While here, remove a comment with a bad idea.

PR:		bin/42120
Submitted by:	Dmitry Frolov <frolov riss-telecom.ru>
2006-10-13 12:38:43 +00:00
Tom Rhodes ef5de9896f Point users to ndisgen(8) over directly interacting with ndiscvt(8) as the
former is easier to use.

PR:		97231
2006-10-13 11:30:07 +00:00
Ruslan Ermilov 4597828981 MFV. 2006-10-13 10:03:23 +00:00
Ruslan Ermilov 2c19f77b15 This commit was generated by cvs2svn to compensate for changes in r163299,
which included commits to RCS files with non-trunk default branches.
2006-10-13 10:00:49 +00:00
Ruslan Ermilov e3e159816a New timezone data.
Obtained from:	ftp://elsie.nci.nih.gov/pub/tzdata2006n.tar.gz
2006-10-13 10:00:49 +00:00
John Birrell ede64266d2 Attempt to fix the sun4v tinderbox build (which unhelpfully doesn't
report errors -- just warnings).

Submitted by: ru@
2006-10-13 09:55:17 +00:00
Gleb Smirnoff b0dc008358 Fix result of some mechanical change that I did some time ago, when
writing this node.
2006-10-13 09:11:12 +00:00
John Birrell abc010b6a0 Remove one of the duplicate 'device nmdm' lines.
Noticed in the sun4v tinderbox log.
2006-10-13 09:05:44 +00:00
Joel Dahl 02c653255c Add netgroup(5) to SEE ALSO.
PR:		docs/84764
Submitted by:	garys
2006-10-13 09:02:59 +00:00
Kip Macy ae5c4e2140 Fix console and update to new api.
The style changes are required as a result of the CONSOLE_DRIVER macro.

Approved by: rwatson (mentor)
2006-10-13 06:45:50 +00:00
Ruslan Ermilov 25ca9fb48d Deal with two more references to non-existing ndisapi(9). 2006-10-13 06:24:53 +00:00
Scott Long 2711d96ad4 Fix some whitespace 2006-10-13 05:18:03 +00:00
John Birrell e70cbcb5ba Attempt to fix the GENERIC kernel build which has been failing on
tinderbox for a couple of days.
2006-10-13 04:53:22 +00:00
Tom Rhodes 9b9879cb89 Kill reference to ndisapi.9 here as well, it doesn't exist.
PR:		82114
2006-10-13 03:54:22 +00:00
Ruslan Ermilov 82a6e39b28 At least one argument is required. 2006-10-12 21:10:55 +00:00
Ruslan Ermilov b13b4f6ffd Use normal parentheses.
PR:		docs/84549
Submitted by:	Gary W. Swearingen
MFC after:	3 days
2006-10-12 20:50:26 +00:00
Ruslan Ermilov 6b0db4ab37 Fix utility's short description.
PR:		docs/84467
Submitted by:	Gary W. Swearingen
MFC after:	3 days
2006-10-12 20:29:20 +00:00
Ruslan Ermilov ef4e780539 Make "dump /filesystem" (without options) work.
PR:		docs/84408
MFC after:	3 days
2006-10-12 20:22:31 +00:00
Olivier Houchard ca8022c580 Don't build the libgcc with functions already included in the libc to
unbreak the build.
We'll switch back to the libgcc functions and get rid of the libsoftfloat
later.
2006-10-12 16:43:15 +00:00
John Baldwin 5283d39b98 ipmi_polled_enqueue_request() is already called with the lock held, just
assert it rather than recursing.

Reported by:	mjacob
Pointy hat:	jhb
MFC after:	3 days
2006-10-12 16:26:42 +00:00
Hartmut Brandt d566310d21 Remove a debugging statement from the previous commit. 2006-10-12 15:44:51 +00:00
Ariff Abdullah 1409858b3b - Fix support for ASUS U5F laptop. This laptop (and possibly others)
need a special inverted EAPD quirk.
- Add "eapdinv" config for future testing purposes.

Tested by:	Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
          	#freebsd-azalia @ irc.freenode.net
2006-10-12 15:37:43 +00:00
Hartmut Brandt 48cd487aae Don't free the buffer with the sysctl value before printing it. 2006-10-12 15:31:23 +00:00
Ruslan Ermilov 948ec60d36 Don't say "rightmost" when referring to the least significant bit.
PR:		docs/94803
MFC after:	3 days
2006-10-12 15:08:41 +00:00