Commit Graph

112892 Commits

Author SHA1 Message Date
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
fvdl a47c14adcc Fix reversed arguments to bus_space_unmap. 2003-05-15 18:04:08 +00:00
dsl adb2f69a2f Avoid building the xxx.mk file (etc) multiple times in a parralel build.
Change name of target build from xxx.mk from 'all' to xxx.crunched to avoid
picking up baggage from bsd.own.mk and bsd.prog.mk.
Fixes toolchain/21563 (with new crunchgen binary)
2003-05-15 17:52:32 +00:00
dsl cd7432d0cb Add an extra target to the xxx.mk file that is equivalent to 'all', but which
doesn't pick up baggage from bsd.own.mk and bsd.prog.mk.
This stops parallel makes exploding because they try to build ${PROG} to soon.
Fixes toolchain/21563 (with change to src/distrib/common/Makefile.crunch).
Upped version of crunchgen to 0.3
2003-05-15 17:49:46 +00:00
jmc 84b2ae9f5b Typo police 2003-05-15 16:46:55 +00:00
fvdl c9c95208a9 Postpone the ioapic_ih assignment a bit, since the pin number may have
been corrected in a workaround in the meantime.
2003-05-15 16:32:50 +00:00
itojun da3884cbf4 latest copyright notice (more loose). noted by wiz 2003-05-15 15:02:52 +00:00
itojun 9cf18f13b5 rt->rt_ifp may not always be available. masanori kanaoka via kame 2003-05-15 14:57:58 +00:00
itojun d25769c013 assume presense of getifaddrs(3). 2003-05-15 14:50:02 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun 68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
yamt 19bdd5d1e5 acquire vmobjlock when touch pg->flags. 2003-05-15 14:34:06 +00:00
itojun dec326ca84 64bit issue; reported by Havard Eidnes and Juergen Hannken-Illjes, sync w/
openssh master tree
2003-05-15 14:10:24 +00:00