Commit Graph

127056 Commits

Author SHA1 Message Date
kleink
5f593fa3da Bump to 20040510: readlink(2) buffer handling fixes. 2004-05-10 20:39:37 +00:00
dsl
b31522861f Use the disk size from the device driver, not the bios when checking
whether partitions are valid.
Stops problems with broken BIOS, fixes PR bin/25491
2004-05-10 20:32:07 +00:00
christos
cec7684b79 Add opt_compat_netbsd.h because we need it for COMPAT_20; pointed out
by Jonathan Stone.
2004-05-10 20:27:42 +00:00
kleink
48c51a151e Ensure readlink(2) result termination within buffer bounds. 2004-05-10 19:59:59 +00:00
kleink
25d6af944a Undo a pointless instance of readlink(2) buffer termination. 2004-05-10 19:23:48 +00:00
christos
d24b172c21 avoid overflow in strcpy. 2004-05-10 19:11:31 +00:00
drochner
d1a752ca4b put back the CAVEATS section
pointed out by wiz
2004-05-10 17:15:28 +00:00
jdolecek
cab648feaf actually, 3ware 9000 doesn't work with the pre-9000 drivers
according to 3ware support person, so remove it from list of supported cards
2004-05-10 17:03:05 +00:00
drochner
1626697cbc remove the fgetstr manpage 2004-05-10 17:02:21 +00:00
drochner
4bf1529244 remove fgetstr() from public sight 2004-05-10 16:53:56 +00:00
drochner
64b5a4f2c6 Add FLOCKFILE() locking - should be threadsafe now.
(Didn't test the !HAVE_FPARSELN && !_REENTRANT case -- this might be
hit in tools/compat on some host platforms.)
2004-05-10 16:50:23 +00:00
drochner
db594c6591 After discussion with christos, turn fgetstr() into an internal function.
Its API in inherently non-threadsafe (and it depends on certain properties
of the underlying stdio implementation), so it shouldn't be a first-class
function for general use, polluting the application namespace.
Also remove the FLOCKFILE() code from it - this is under control of the
calling function now.
(XXX I'm not sure whether the FLOCKFILE() should be kept in fgetln(),
this function cannot be used in multiple threads anyway. It doesn't
hurt much, and it might prevent corruption of internal FILE structures.)
2004-05-10 16:47:11 +00:00
christos
ff5de51147 Change code to use a switch statement, and add exceptions to fix the
conflicts.

XXX: Fix the conflicts.

1. chio: change to 'x' from 'c' so that it does not conflict with cdio.
   keep the 'c' ioctls in the driver for compat.
2. ppp/slip: change SLCGUNIT to some other number and accept the old number
   in the driver.
3. ipf: [3 instances] Have darren fix them.
2004-05-10 15:25:57 +00:00
christos
1dc2a376ef make it clear that ENTRIES = ENTRYS :-) 2004-05-10 15:14:12 +00:00
wiz
b0d0521b43 Do not install ppi(4) -- drochner says that there's no driver for it.
(hp300/ppi.4 is something different and has its own man page.)
2004-05-10 12:48:19 +00:00
yamt
75f99c3465 nfs_lookup: handle "." by ourselves as RFC1813 3.2 says. 2004-05-10 12:43:51 +00:00
christos
540c75a594 PR/25103: Martin Husemann: IP Filter 4.4.1 breaks some connections when NATing
patch from Darren applied.
2004-05-10 12:10:31 +00:00
yamt
2dd754b680 don't do kludge for a reply to a retransmitted request
unless we actually retransmitted the request.
2004-05-10 10:40:42 +00:00
yamt
c9290b239d key_sp_unlink: decrement refcnt of the policy only if it was chained.
otherwise SADB_X_SPDDELETE2 and SADB_X_SPDFLUSH can free per-pcb policies
erroneously.  it's the identical with what kame repository has.

ok'ed by itojun@
2004-05-10 09:30:23 +00:00
gendalia
4ff7407fae Add support for Adaptec AAR 2810SA raid controller. 2004-05-10 06:21:09 +00:00
gendalia
2f085ffee7 regen (Add support for Adaptec AAR 2810SA raid controller.) 2004-05-10 06:20:39 +00:00
gendalia
f0491fe6e7 Add support for Adaptec AAR 2810SA raid controller. 2004-05-10 06:18:53 +00:00
thorpej
216e5888a5 Fix a couple of whitespace nits. 2004-05-10 02:36:56 +00:00
kleink
5e63ca7768 Add offtime(3) and friends. 2004-05-10 02:08:01 +00:00
kleink
f52f2d3dfe Add a manual page for the standard-inspired offtime(3) and friends;
requested by Thomas Klausner.
2004-05-10 02:02:00 +00:00
mhitch
4580796d6b Fix path to installboot and the boot image. 2004-05-10 01:50:32 +00:00
mhitch
0e493eae87 /usr/sbin/installboot was missing from installation media. 2004-05-10 01:49:36 +00:00
cl
ba728d7531 Avoid overrun problems with the indexes of the slots in the
communication rings.
2004-05-10 01:39:39 +00:00
christos
f07e678b45 PR/24969: Arto Selonen: /usr/sbin/ipfs from ipfilter 4.1.1 does not work
patch applied.
2004-05-10 01:34:59 +00:00
christos
4c00db0b81 PR/24969: Arto Selonen: ipfs does not work at all with 4.1.1. Applied portion
of the patch that did not conflict with the previous commit. Darren should
take a look at it, and keep what it apropriate.
2004-05-10 00:50:07 +00:00
christos
191890ee3f PR/21334: Mike M. Volokhov: NAT halts on ipfs(8) restore in case of ftp
proxy used. Apply userland patch from this PR, since the kernel patch does
not match at all anymore, and seems to have been applied differently.
2004-05-10 00:36:19 +00:00
ross
01fd915146 Update text since there are now three install floppies. It's
written to cover the 2-floppy case as well, so if this file is
updated later with delta's needed on netbsd-2-0, this one revision
does not need to be excluded.
2004-05-10 00:35:10 +00:00
fair
9d0b34ca9c Add port-xen 2004-05-10 00:28:08 +00:00
ross
062b87f655 Fix install floppy overflow by going to a 3-floppy boot.
Fix the single-image overflow by just doubling the allowed size.
2004-05-10 00:08:48 +00:00
lukem
2ebcc58148 sbsize should be parsed as R_CSIZE so that suffixes work correctly.
Fix from Christian Biere in PR [lib/25504].

(XXX: the R_CSIZE parsing should be changed to using strsuftollx(3))
2004-05-09 23:28:11 +00:00
kleink
08e9a66ef3 s/wchat/wchar/ in a comment. 2004-05-09 19:50:30 +00:00
kleink
e984bcd6d6 G/c an orphaned #endif. 2004-05-09 19:48:38 +00:00
kleink
f379d2c8ac There are two instances of getsubopt.c, one in gen, which came by the
ways of 386BSD, and one in stdlib, which is from Lite-2.  The former was
picked up by the build process and has seen a little more maintenance
while the latter's location is "right", so bring the latter up to par
with the former and dispose of the (now) latter.

Reported by David A. Holland in PR lib/25160, which is worded in a
far less mind-boggling fashion than the above.
2004-05-09 19:34:11 +00:00
snj
b706bc6de5 English fix. 2004-05-09 18:59:52 +00:00
kleink
a060c8818b We now need an internal name for fileno(), since when buildling libc
_REENTRANT we can no longer use the macro version from <stdio.h>.
2004-05-09 17:27:53 +00:00
elric
a4f71a0494 np->h_net is not a pointer. 2004-05-09 15:54:59 +00:00
lukem
162bb0f382 Prune obj|obj.* directories/symlinks correctly. Fix from Hubert Feyrer. 2004-05-09 13:46:00 +00:00
yamt
609701c865 - note its typical usage.
- bump date.
2004-05-09 11:28:58 +00:00
kleink
95e4d0d7af Need namespace.h for internal names of strdup, strlcpy. 2004-05-09 11:26:33 +00:00
kleink
6352cc4399 Need namespace.h for internal names of fseeko, strlcpy. 2004-05-09 11:25:52 +00:00
kleink
6108f6dd87 Need namespace.h for internal name of strlcpy. 2004-05-09 11:25:20 +00:00
dyoung
7412e6e599 In ieee80211_find_rxnode, when we "fake up" a node for an ad hoc
peer, we have to copy the "master" rate table to the faked-up node's
rate table, or else ath0 will complain, "ath0: bogus xmit rate
0x0".  Thank you Konstantin KABASSANOV for reporting this problem.
2004-05-09 09:18:47 +00:00
dyoung
6263dee43f Undo last: I committed the wrong file. 2004-05-09 09:00:05 +00:00
taca
3657b758c0 Make it comiple without warning; void function fr_checkv4sum() and
fr_checkv6sum() should not return value.
2004-05-09 08:29:30 +00:00
dyoung
dd998d980d In ieee80211_find_rxnode, when we "fake up" a node for an ad hoc
peer, we have to copy the "master" rate table to the faked-up node's
rate table, or else ath0 will complain, "ath0: bogus xmit rate
0x0".  Thank you Konstantin KABASSANOV for reporting this problem.
2004-05-09 08:19:21 +00:00