haad
a3b083b6a1
Remove unneeded #include <string.h>, found by Adam Hoka.
...
Ok'ed by martin@.
2008-05-26 13:17:48 +00:00
ad
27d03b16a5
Fedora Core 9 doesn't provide ARG_MAX, so use _POSIX_ARG_MAX if it's
...
not available.
2008-05-26 13:06:38 +00:00
ad
95488a6b7b
Broken assertion.
2008-05-26 12:58:24 +00:00
he
b30cb0f01e
Remove references to bebox-elf2pef and bebox-mkbootimage, now that they
...
have been integrated in common powerpc tools and subsequently removed.
2008-05-26 12:45:50 +00:00
he
e9c0b94535
Bump ramdisk size from 1.5M to 1.6M to compensate for recent bloat.
2008-05-26 12:25:34 +00:00
drochner
9ee4fa1d83
kill license clauses 3 and 4
2008-05-26 12:15:42 +00:00
ad
93e0e98369
Take the mutex pointer and waiters count out of sleepq_t: the values can
...
be or are maintained elsewhere. Now a sleepq_t is just a TAILQ_HEAD.
2008-05-26 12:08:38 +00:00
nisimura
540dfe3a95
- assign 2 clause TNF license to the files cited as my ownership.
...
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
2008-05-26 10:31:22 +00:00
wiz
afa117e7f9
Sort sections. Use more markup.
2008-05-26 08:45:55 +00:00
wiz
5904699302
Sort ERRORS.
2008-05-26 08:43:57 +00:00
wiz
6a46b478a7
Remove trailing whitespace.
2008-05-26 08:43:41 +00:00
wiz
e1070e84ea
Remove duplicate (pasto?) RETURN VALUES section.
2008-05-26 08:43:08 +00:00
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