Commit Graph

170257 Commits

Author SHA1 Message Date
phx
be85d6f928 Make oea_init() support systems with high-vector configurations (i.e exception
vectors at 0xfff00000), and trap_subr.S allows the kernel to be in a memory
region which is not reachable by absolute branch instructions (ba and bla).

High-vector support can be enabled by option PPC_HIGH_VEC, and long-branches
to the kernel are enabled by the option DISTANT_KERNEL.
2008-05-24 21:39:01 +00:00
joerg
5690a56cef Add entry for dhcpcd. 2008-05-24 21:10:14 +00:00
christos
a41e5a83be Add coverity alloc comment. 2008-05-24 20:07:00 +00:00
christos
cfb67f710f add a coverity alloc comment. 2008-05-24 20:05:52 +00:00
christos
e520f14ae6 Coverity CID 5003: Fix memory leak. 2008-05-24 20:00:07 +00:00
christos
e3ee1b22da Coverity CID 5004: Fix double free. 2008-05-24 19:58:01 +00:00
he
0bf7256056 Document the new ${name}_env feature: list of new or modified environment
variables to set when starting ${command}.
2008-05-24 19:57:21 +00:00
christos
78dc0fbbfc Add a coverity alloc comment. 2008-05-24 19:54:43 +00:00
martin
52b48c415c More "known bad" formattings of 3 clause UCB license. 2008-05-24 19:52:46 +00:00
christos
13ebcc71fb Add a coverity alloc comment 2008-05-24 19:52:36 +00:00
christos
c2e438738f Coverity CID 5007: Avoid double free. 2008-05-24 19:48:27 +00:00
christos
677bd71b1f Add a coverity allocation comment. 2008-05-24 19:46:32 +00:00
joerg
e4890f8abd Hook dhcpcd into build. 2008-05-24 19:39:30 +00:00
joerg
8eeb8277e5 Import dhcpcd 4.0.0-beta5.
dhcpcd is a small DHCP client, supporting most, if not all, features of
dhclient.  It is much smaller (1/6 of the size on amd64), but still
supports many of the more advanced modern RFCs like IPv4LL (RFC 3927),
Classless Static Routes (RFC 3442) and Node-specific Client Identifiers
(RFC 4361).  It was written by Roy Marpled, partly in reply to the
discussion of the DHCP client Sommer of Code project.
2008-05-24 19:37:41 +00:00
martin
afdba35c96 Avoid an endless loop in previous, improve extraction of "known bad"
UCB 3 clause licenses.
2008-05-24 19:37:29 +00:00
christos
66009f62a3 Coverity CID 5010: Avoid buf[-1] = '\0' on error. 2008-05-24 19:32:28 +00:00
christos
da88a5a499 Coverity CID 5011: #ifdef out unreachable code. 2008-05-24 19:26:14 +00:00
he
77b766af04 Back out the removal of md(4) in order to permit this port to complete
a release build again.  The GENERIC kernel is used to build install media
in distrib/ibmnws/netboot/kernel, and without the md(4) area in place,
mdsetimage becomes unhappy.

Pointed out to rjs (who removed md(4) in revision 1.31), but now
committed due to feedback time-out, and because I've verified that
this fixes the build.
2008-05-24 19:24:48 +00:00
tsutsui
ff1b9852ce Try DIOCWLABEL ioctl only if write op fails with EROFS
because the ioctl is required and valid only for raw devices.
2008-05-24 19:15:21 +00:00
tron
c2987416cd Fix another problem with "set -e": "! true" should terminate the shell. 2008-05-24 19:06:43 +00:00
christos
45c4cacf02 Coverity CID 5013: Add diagnostic test for bad cmd parameter. 2008-05-24 18:51:41 +00:00
christos
934b677fde Coverity CID 5015: Remove unnecessary test; if l was null we would have
crashed before when p = l->l_proc.
2008-05-24 18:43:02 +00:00
christos
aa3b40a116 Coverity CID 5018: Fix double frees. 2008-05-24 18:39:40 +00:00
nakayama
b70810493a s/log file system/log-structured file system/ 2008-05-24 18:14:24 +00:00
kiyohara
e9d09f2c45 Integrated to powerpc-mkbootimage. 2008-05-24 17:47:21 +00:00
joerg
bbdb057767 Just ignore a bunch of well-known routing socket messages ifwatchd
doesn't care about to make verbose mode less noisy.  When it does print
an unknown header type, also say which one it doesn't like.
2008-05-24 17:45:14 +00:00
cube
400ce55d62 Use ether_nonstatic_aton() when appropriate. 2008-05-24 17:35:37 +00:00
kiyohara
cd22853503 Fix some bugs for bebox. 2008-05-24 17:34:02 +00:00
tron
35fbf8dd7f Port revision 1.44 of "src/bin/sh/eval.c" from FreeBSD to fix PR bin/38584.
Reviewed by Michael van Elst.
2008-05-24 17:12:53 +00:00
christos
2847938186 Coverity CID 5019: Check before deref. 2008-05-24 16:49:30 +00:00
christos
f4569a9440 Coverity CID 5021: Check pointers before using. 2008-05-24 16:42:00 +00:00
cube
3624455eba Split device_t and softc for all USB device drivers, and related cosmetic
changes.

Matthias Drochner kindly reviewed this patch, and tested ums, ubt, uaudio
and ral.  I tested umass myself.
2008-05-24 16:40:58 +00:00
christos
ea988594e2 Coverity CID 5024: Fix double free on error path. 2008-05-24 16:37:49 +00:00
christos
a2c63c0004 Coverity CID 5025: sbreserve is never called with a null socket. 2008-05-24 16:35:28 +00:00
christos
7bf4013b89 Coverity CID 5027: Remove impossible test. 2008-05-24 16:29:34 +00:00
christos
3af4b27011 KNF, whitespace, b* -> mem*. No functional change. 2008-05-24 16:28:58 +00:00
christos
be2cd377db Coverity CID 5028: Fix memory leak. 2008-05-24 16:04:15 +00:00
njoly
c188bc4dd4 Fix netbsd32_ipc_perm and netbsd32_shmid_ds structures to use correct
types.
2008-05-24 16:02:44 +00:00
christos
9842feccf0 Coverity CID 5029: Fix memory leak. 2008-05-24 15:59:59 +00:00
christos
2fa9c865b5 Don't code using side-effects (eliminate queue variable). Unconfuses Coverity
CID 5031.
2008-05-24 15:55:13 +00:00
christos
54cf942f77 Coverity CID 5034: Use after free. Restructure the code to simplify it and
print the error.
2008-05-24 15:45:58 +00:00
bouyer
c8e9dd1af4 G/C dead code: remove now-unused softintr-related code. 2008-05-24 15:10:50 +00:00
bouyer
d491d792fd Remork the C implementation of spllower() in evtchn_do_event(), so that
callbacks are always called in decreasing IPL order. Although it's not
strictly a bug, it makes the code easier to read, and avoids processing
the whole IPL range several times.
2008-05-24 15:09:34 +00:00
mlelstv
217da3ad75 don't free input buffer repeatedly during non-whitespace hunt 2008-05-24 14:45:46 +00:00
yamt
75b1a2ec18 fix recursive read-lock bugs found by lockdebug and reported
by Geoff C. Wing and others.  ok'ed by Jason Thorpe.
an earlier version was tested by Sverre Froyen.
PR/38732 from oster@.
2008-05-24 14:32:48 +00:00
tron
97eb62abf7 Make sure that we flush the NFS directory cache in case of an NFS mount
using the translate cookie option during unmount. This fixes PR kern/38100.
Patch suggested by Michael van Elst during Hackathon 11.
2008-05-24 14:29:18 +00:00
yamt
6787eedebd revert the recent "use trylock to hide locking errors" changes
and their associated changes, in particular, the following versions.
	prop_array.c		1.13-1.16
	prop_dictionary.c	1.25-1.28
	prop_object_impl.h	1.21-1.25
ok'ed by core@.
2008-05-24 14:24:04 +00:00
yamt
9b5a328100 use designated initializers for ttydefchars. 2008-05-24 14:06:39 +00:00
ad
25866fbff7 Set cpu_onproc on entry to the idle loop. 2008-05-24 12:59:06 +00:00
ad
be6b674555 These work with SCHED_4BSD now. 2008-05-24 12:57:00 +00:00