Commit Graph

112905 Commits

Author SHA1 Message Date
yamt 4811ccb6a0 correct a KASSERT. 2003-05-16 17:16:05 +00:00
itojun 63715bec6b backout previous. (sys/net/if.c fixed) 2003-05-16 16:57:35 +00:00
itojun abf7c0c6f1 AF_LINK sockaddr has to be attached to ifp->if_addrlist until the end,
as many of the code assumes that TAILQ_FIRST(ifp->if_addrlist) is non-null.
2003-05-16 16:57:09 +00:00
itojun f9121aada7 switch to use strlcpy() from libkern. 2003-05-16 16:28:30 +00:00
dsl 17c72be2df Add a '}' that has been missing since september 2000 2003-05-16 16:28:10 +00:00
itojun d36e610a01 nd6_rtmsg: If called during if_detach(), TAILQ_FIRST(if_addrlist)
could be NULL.  This is not a common case, but as nd6_rtmsg()
will be called during if_detach(), we need to check for the
case.  reported by kanaoka-san.
2003-05-16 16:19:45 +00:00
itojun ce084afabe use strlcpy 2003-05-16 15:34:25 +00:00
yamt a1d2fd4ed9 fix a typo that prevents -o wsize=nnn to work. 2003-05-16 15:33:45 +00:00
abs 7aabc9df8a Skip !IFF_BROADCAST interfaces (such as strip). After discussion
with Ted Lemon leave in checks for IFF_LOOPBACK and IFF_POINTTOPOINT
in case an OS incorrectly marks them with IFF_BROADCAST.
Patch submitted back to dhcp-server@isc.org
2003-05-16 15:16:41 +00:00
itojun d4074ff0ab use strlcpy [change prototype of db_symstr to pass size_t; noone seem to use it] 2003-05-16 15:02:08 +00:00
itojun 646e6960b2 blank line 2003-05-16 14:53:55 +00:00
itojun 35e21131ac use strlcat 2003-05-16 14:40:41 +00:00
itojun 51110d0c20 use strlcpy
[compat/svr4_32 should have bound check for SVR4_32_AUX_ARGSIZ]
2003-05-16 14:36:30 +00:00
itojun f265a4a4da use strlcpy. [fixed off-by-one in subr_prop.c] 2003-05-16 14:25:02 +00:00
christos 4c6da4d976 mention export lossage 2003-05-16 14:19:49 +00:00
christos 03db714fce - zero out the sockaddr before passing it to the kernel.
- print the reason of the export failure.
2003-05-16 14:03:31 +00:00
christos 15fab6425c Fix a variety of kernel panics related to unchecked export data:
1. sa_len was not properly checked.
2. sa_family was not properly checked [even used as an array index!]
3. we only know about inet4 and inet6, so make sure that the corresponding
   data is valid before using it.
4. keep reference counts of addresses used (is that necessary?)
2003-05-16 14:01:56 +00:00
christos 240c9010bb add a refcount for the radix node usage in the exports. 2003-05-16 13:56:54 +00:00
christos ade6fba604 add a crcmp() function. 2003-05-16 13:55:18 +00:00
wiz 34e4755a7d Note olms and omms removal. 2003-05-16 13:32:15 +00:00
wiz b976c55907 Consistently spell "crash dump" as two separate words. From jmc@openbsd. 2003-05-16 10:24:55 +00:00
abs 81ab107137 maybe -> may be 2003-05-16 08:37:09 +00:00
bsh a710e1b34a SMDK2800 has a 6MHz X'tal.
comment out memory disk options.
2003-05-16 08:11:36 +00:00
itojun 0c48aa3eda need dstlen to make it safe 2003-05-16 05:14:40 +00:00
itojun a812112ebc use strlcpy 2003-05-16 05:12:32 +00:00
itojun 25b677f86d use strlcpy. check size if we are to use namei buffer. 2003-05-16 05:09:11 +00:00
itojun 4008ec1218 use strlcpy 2003-05-16 03:56:49 +00:00
itojun 4d9a92e2a2 remove duplicate. masanori kanaoka 2003-05-16 02:53:28 +00:00
dyoung 045ad0db5e IEEE80211_LOCK and WI_LOCK conceal enormous differences in locking
semantics on FreeBSD and NetBSD, so I am backing them out until
the macro set is enriched.
2003-05-16 01:26:17 +00:00
manu 1ab318ff2d We had ugly magic values in io_connect_method_scalari_scalaro and friends.
Peeking at Darwin's header files gives some ideas of what we are doing here.

We know understand most of the stuff called by XDarwin and WindowServer before
mapping the framebuffer.
2003-05-15 23:35:37 +00:00
lha c95b098f3a Check that child process doesn't get threads, also make sure sleep
works in child (fork test, commited some time ago)
2003-05-15 23:00:55 +00:00
lha 3ca42f1c25 regenerate files for heimdal 0.6 2003-05-15 22:58:02 +00:00
lha b224fef26e Fix up rcsid lossage 2003-05-15 21:36:30 +00:00
fvdl 3ce3540177 Don't start the process of scanning CPUs and I/O APICs (with interrupt
routing to follow later) if the ACPI implementation is marked as
having a quirky PCI bus/interrupt configuration. If MPBIOS is also
defined, it'll do the job instead.
2003-05-15 21:31:59 +00:00
fvdl c0b6986667 Add quirk handling to ACPI. First quirk entry is "PTLTD " rev 0x06040000,
which gives problems with PCI bus finding; the object hierarchy doesn't
match the real world for some systems, most notably SuperMicro boards.
Linux has this one blacklisted as well.
2003-05-15 21:29:49 +00:00
lha f66ab28ab4 bump minors appropriately 2003-05-15 20:58:43 +00:00
lha f80f84e684 no longer used 2003-05-15 20:56:45 +00:00
lha 98326d86aa add files for heimdal 0.6 2003-05-15 20:51:01 +00:00
lha 28d69ea823 merge in heimdal 0.6 2003-05-15 20:44:06 +00:00
lha 245a590853 import of heimdal 0.6 2003-05-15 20:28:38 +00:00
kristerw 07936511f0 The C language does not permit statements of the form
(X ? Y : Z) = 0;
even though gcc handles this by a stupid extension.

Transform these to correct C.

Approved by fvdl.
2003-05-15 20:25:31 +00:00
wiz 70c40c00ed regen (-lms,-mms,+icp on i386). 2003-05-15 19:17:43 +00:00
wiz 76907a433e Fix typo in comment. 2003-05-15 19:16:37 +00:00
nathanw a06836c083 Remove an unnecessary test in pthread_getspecific(). 2003-05-15 19:13:24 +00:00
wiz 2b0b925316 Add /dev/mouse-qms0 and /dev/qms0. 2003-05-15 19:11:28 +00:00
wiz 17abf3da10 Add /dev/lms0 and /dev/mms0. 2003-05-15 19:10:00 +00:00
wiz 5b143c1fff No point in a qms device if there is no qms driver. 2003-05-15 19:05:28 +00:00
wiz b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
wiz 717b2b1474 Remove i386/busmouse(4); it's not supported on i386 any more. 2003-05-15 18:53:34 +00:00
wiz 8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00