170374 Commits

Author SHA1 Message Date
wiz
5ae93b7856 Remove trailing whitespace. 2008-05-26 08:41:42 +00:00
wiz
20eb39d315 Sort options in usage. 2008-05-26 08:15:37 +00:00
wiz
e528d2def7 New sentence, new line. 2008-05-26 08:13:06 +00:00
martin
793af5dc9c Fix sh/perl/etc comment post processing. 2008-05-26 08:11:41 +00:00
dholland
2b94d6fae5 Error out instead of dumping core if we can't write (one of) the output
files. Fixes PR 36725.
2008-05-26 07:57:29 +00:00
dholland
89a35a0e0a Cosmetic fix: don't exit without completing the progress bar, either on
write error or by receiving SIGPIPE. This avoids leaving the tty in a
mess. Probably addresses PR 30287.
2008-05-26 04:53:11 +00:00
jmcneill
f44fdd6c17 Note umass(4) support for devices that report themselves as
BlackBerry Pearl compatible.
2008-05-26 03:43:07 +00:00
dholland
e62b84ba61 When running a builtin service (a what? yeah, a piece of useless
legacy code), if the builtin service forks (not all do), avoid leaking
listening sockets into the child process.

If the child process were to keep copies of the listening sockets
around and then hang about for a long time, it would prevent inetd
from being able to re-bind them upon restart.

The listening sockets are tagged close-on-exec, but that doesn't help
when one doesn't exec.

Patch from my own very old PR 8253.
2008-05-26 03:41:25 +00:00
jmcneill
07b705df60 Cleanup, use pmf, and ensure that we keep the device active in the
non-pearl case where power is sufficient.
2008-05-26 03:20:56 +00:00
jmcneill
b14ecf8e05 Don't match uberry to a device in dual mode, let umass pick it up instead. 2008-05-26 03:03:50 +00:00
christos
0d264cffef PR/38745: Kouichirou Hiratsuka: chroot(8) can leak information of outside of
chrooted directory
2008-05-26 02:29:13 +00:00
christos
0e41ecf58b use PNBUF_* instead of malloc 2008-05-26 02:27:36 +00:00
ad
c4612ba227 More blurb about the mutex and limitations. 2008-05-26 02:25:05 +00:00
ad
3ad4fb5234 Note that when calling pthread_cond_broadcast/signal, the same mutex as
passed to wait/timedwait must be held.
2008-05-26 02:16:48 +00:00
dholland
2dad86041d Document the values returned by close() and fflush(). PR bin/38132. 2008-05-26 02:07:25 +00:00
ad
bd2852ae8c Add a comment describing some limitiations of this implementation. 2008-05-26 02:06:21 +00:00
yamt
5f24c2accb +dhcpcd.debug
+ldapmodrdn.debug
-ldapmodrd.debug
-ldapadd.debug
2008-05-26 00:44:55 +00:00
jmcneill
35f1d3e7d0 Add uberry. 2008-05-26 00:33:37 +00:00
christos
ef7407bbb3 update for uberry. 2008-05-26 00:32:33 +00:00
christos
672ddf84d6 A manual page. 2008-05-26 00:31:32 +00:00
ad
9d566f8240 Note that apps with real-time threads shouldn't use spinlocks because of
the danger of deadlock, and note that in general spinlocks suck and mutexes
should be used instead!
2008-05-26 00:31:08 +00:00
christos
6c9b02f899 uberry. 2008-05-26 00:26:48 +00:00
christos
6facb070dd Add uberry. 2008-05-26 00:25:32 +00:00
christos
2b96eb7243 Add uberry, a stub driver for RIM BlackBerry devices that can only be used
to charge a BlackBerry on a USB port.
2008-05-26 00:23:05 +00:00
ad
6458d64f4c - Eliminate one test+branch.
- Fix a comment.
- Fix a lock leak.
2008-05-26 00:16:35 +00:00
ad
dec5fb2e52 pthread_cond_timedwait: don't leak EINTR or EALREADY to the caller. 2008-05-25 23:51:31 +00:00
ad
c7615c48c8 PR kern/38707 scheduler related deadlock during build.sh
Fail sched_catchlwp() if mutex_tryenter() on the remote CPU's state fails.
Seems to work around the issue described in this PR.

XXX Stealing jobs from remote CPUs could probably be moved into the idle
loop, making the locking quite a bit simpler.
2008-05-25 23:46:55 +00:00
tsutsui
99f94fd98d Some KNF and cosmetics. 2008-05-25 23:37:05 +00:00
ad
1cc9a3ae7e If converting a process/thread from SCHED_OTHER to a realtime thread,
ignore the existing priority. If no priority is specified, give threads
the minimum user RT priority.
2008-05-25 23:34:24 +00:00
ad
e25a4f7edc Allow starting a new process with the specified parameters. For example:
# schedctl -C SCHED_FIFO top
2008-05-25 23:22:16 +00:00
jmcneill
9d0947ae6e PR#34477: Don't dereference ni_chan if it points to the special
``any channel'' token IEEE80211_CHAN_ANYC
2008-05-25 23:17:33 +00:00
jmcneill
a6e01338bc Based on changes to nfe_attach in r1.27, wake newer chips from powerdown
mode on resume as well as at attach time.
2008-05-25 22:57:35 +00:00
ad
90035a10c9 sched_tick:
- Do timeslicing for SCHED_RR threads. At ~16Hz it's too slow but better
  than nothing. XXX

- If a SCHED_OTHER thread has hogged the CPU for 1/8s without taking a
  trip through mi_switch(), try to force a kernel preemption to give other
  threads a chance.
2008-05-25 22:04:50 +00:00
cegger
5db879ef65 add comment why NULL handlers are sufficient.
requested and ok'd by jmcneill
2008-05-25 22:03:23 +00:00
rmind
5c6ac26f4d Allow in top(1) to specify refresh time in parts of second. Minimal time is
0.5s for user, and 0.1s for superuser.

OK by <christos>.
2008-05-25 21:49:33 +00:00
dholland
b135c75eab One more pair of cases; PR bin/17514 originally reported a difference in
nonexistent programs on $PATH and nonexistent programs with an absolute
pathname, so we ought to test both.

If anyone creates a program called nonexistent-program-on-path and
thereby breaks this test for themselves, they deserve it. ;-)

Also prune a no-longer-used shell variable.
2008-05-25 21:43:18 +00:00
drochner
f8b26260d9 -make the list of USB child devices a (possibly sparse) array rather
than a zero-terminated list; this makes the code simpler and also
 hopefully fixes the recent "childdet" botch, see PR kern/38528
-handle the root hub specially a bit earlier, this allows to kick out
 the "submatch" functions completely which needed to second-guess
 from the port number (where "0" meant root hub")
 (we could handle the root hub specially even earlier, but as done
 now big parts of the hub emulation code are exercised regularely,
 this would bitrot otherwise)
2008-05-25 21:41:35 +00:00
christos
9f25c42945 Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing:

    i386--netbsdelf-gcc: .: linker input file unused because linking not done
2008-05-25 21:37:02 +00:00
dholland
c89216e1ce Rework and expand the test cases with reference to standards and the open
PRs on this issue. There are now 68 cases in here, of which 30 fail. Sigh.
Related PRs: bin/17514, bin/29861, bin/32282, bin/37493, bin/38584.
2008-05-25 21:33:24 +00:00
wiz
ea2f84d8a6 Bump date for previous. Drop trailing whitespace. Improve text slightly. 2008-05-25 20:57:48 +00:00
cegger
30bdfd753f add power management support 2008-05-25 20:51:22 +00:00
christos
3914f24884 make this compile again from Stathis Kamperis 2008-05-25 20:47:30 +00:00
christos
6e0baf783e don't forget to fill in the emulation. 2008-05-25 20:18:33 +00:00
wiz
b0ed846e48 Fix two typos. 2008-05-25 20:17:00 +00:00
wiz
e430b722ea New sentence, new line. 2008-05-25 20:13:47 +00:00
wiz
62954cc42a Sort sections. Sort ERRORS. Prepare for HTML output. 2008-05-25 20:13:14 +00:00
mhitch
17dec2055b Add ciss(4) to drivers supporting bio(4) and bioctl(8). 2008-05-25 20:09:55 +00:00
wiz
723dae1494 New sentence, new line. 2008-05-25 20:08:56 +00:00
mhitch
72715a9ae8 Add bio(4) support, heavily from OpenBSD. The driver doesn't know which
physical drives belong to which logical drive, so all the physical drives
will show up for logical drive 0, and also appear for logical drives that
are rebuilding so that the rebuild state will show the physical drive
being rebuilt.  Locking for the scratch buffer is currently missing - system
quickly quits responding when I try to lock the buffer with mutex_{enter,exit}().
2008-05-25 20:08:34 +00:00
wiz
08722cf1ef Remove trailing whitespace. New sentence, new line. 2008-05-25 20:08:12 +00:00