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
martin
c5f18ae1d0
PR install/38604: when chosing "use existing partitions", and the old
...
label looks like an autogenerated "whole disk" label, make sure that
we adjust the 'a' partition when we create an MBR that does not start
right at the start of the disk. Also when we force this partition to be
mounted, init it's mount point to / and force a newfs.
2008-05-24 11:06:53 +00:00
ginsbach
9a7780f955
Use ${TOOL_SED} instead of sed.
2008-05-24 02:56:55 +00:00
ad
f82d7874c2
A dumb test of how long it takes to send a byte through a pipe, using
...
timeshared threads and realtime threads.
2008-05-23 22:22:36 +00:00
jnemeth
96f8d450e2
add siisata(4) -- SiI SteelVine SATA2
2008-05-23 21:17:39 +00:00
jnemeth
3f1ee498b5
Import siisata(4) by Jonathan A. Kollasch.
...
The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.
The following controllers are supported by the siisata driver:
Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1
SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.
Approved by: core (christos), releng (bouyer)
2008-05-23 21:11:40 +00:00
tsutsui
31d6cdf996
Add simple help messages for MD machine commands on ddb(4).
...
PR port-mips/38306
2008-05-23 17:01:32 +00:00
spz
2c2348b398
add a syntax hint for the recently added tftp capability in ofwboot.net
2008-05-23 15:25:25 +00:00
he
a1991936ab
Also delete a now-unused local variable.
2008-05-23 14:10:50 +00:00