Commit Graph

97467 Commits

Author SHA1 Message Date
thorpej
42320e8223 * Move the prototype of __svfscanf from <stdio.h> to libc/stdio/local.h.
* Add prototype for vfscanf to <stdio.h>.
* Remove #define of vfscanf to __svfscanf from <stdio.h>.
* Include local.h in libc files which need __svfscanf.
* Add vfscanf weak alias to __svfscanf.

Fixes standards/16997.

NOTE: libc minor not bumped -- ride on the bump to 12.84 made by
itojun today.
2002-05-24 22:17:20 +00:00
perseant
d67a5bbb21 Fix a couple of instances where reassignbuf() was not done at splbio.
Tested on i386.
2002-05-24 22:13:57 +00:00
wiz
caa8358c81 Correct `.Na' misuses reported in bin/17007, and some other mandoc improvements
while I'm here.
2002-05-24 22:09:20 +00:00
ragge
7259fa6a37 %d -> %ld in some debug messages, after the ELF switch. 2002-05-24 21:41:40 +00:00
ragge
4d559e645f Boot support for the VXT2000 X terminal, based on some info on the VAXLinux
mailing list.
2002-05-24 21:40:59 +00:00
thorpej
aa676fc0b2 Parameterize the vfscanf macro's arguments. Without them, 3rd party
software can become greatly confused.

This fixes 4 GCC 3.2 testsuite failures.

This is a stop-gap measure which can be easily applied to the 1.6
release branch.  A different fix for the trunk is forthcoming.
2002-05-24 21:07:44 +00:00
christos
7db182d94d NBPG is not constant on the sparc, so don't use CPP tricks. 2002-05-24 18:10:06 +00:00
christos
0c5fed7eec Deal with the NBPG problem in a better way. 2002-05-24 15:58:06 +00:00
briggs
2070a8bccc Only attempt to handle mapping IDE interrupts if we are in SERIAL mode. 2002-05-24 15:47:17 +00:00
msaitoh
7c929f204a add armeb as valid MACHINE_ARCH 2002-05-24 14:43:31 +00:00
itojun
a7ceb02faf refer rnd(4), not random(4). 2002-05-24 14:37:19 +00:00
lukem
36bbd51aa2 Support NetMos NM9845 Quad UART and 1284 Printer port.
All 4 serial ports and parallel port seem to work.
2002-05-24 12:07:46 +00:00
lukem
863d1b7956 regen for NetMos Quad UART and 1284 Printer port 2002-05-24 11:54:22 +00:00
lukem
ed8833bc78 add NetMos Quad UART and 1284 Printer port 2002-05-24 11:50:20 +00:00
tron
f1cf41859a Fix build problem caused by recent changes to "libwrap". 2002-05-24 11:29:40 +00:00
tron
23e50f2c66 Fix build problem caused by recent changes to "libwrap". 2002-05-24 09:57:25 +00:00
lukem
adc470b96d only include scsi support if NSCSIBUS > 0
fixes sun2 (and probably sun3) DISKLESS kernel build
2002-05-24 09:51:07 +00:00
wiz
8b7401f11e Quote <> for HTML output. 2002-05-24 09:45:00 +00:00
itojun
6f589cb1b2 extra blank line 2002-05-24 09:21:30 +00:00
itojun
c3015f8b5d make a strict check before sending FQDN node information reply. sync w/kame 2002-05-24 09:13:59 +00:00
itojun
382ff1f23c let users choose blowfish password option.
XXX msg.mi.fr is out of sync
2002-05-24 08:07:48 +00:00
itojun
5fb3536fb3 remove obsolete comment. use "!rtsol $int" instead of actual interface name. 2002-05-24 07:58:23 +00:00
itojun
971ec4d861 missing IV handling in CBC mode (does not affect ESP code as we have
CBC handling in sys/netinet6/esp_core.c).  sync w/kame
2002-05-24 06:28:06 +00:00
thorpej
b57df3dd9d Add a scanf format attribute to __svfscanf(). 2002-05-24 06:17:29 +00:00
itojun
5ab78ccf04 be more picky about IP option. len >= 2 for normal options. 2002-05-24 06:05:31 +00:00
itojun
2ef04ff634 cleanup some of portability #ifdefs, which are not needed for netbsd. 2002-05-24 05:38:19 +00:00
itojun
5faa38589c be more picky about malformed IP options. 2002-05-24 05:30:54 +00:00
itojun
19414d4312 use /dev/urandom, not /dev/arandom 2002-05-24 04:54:14 +00:00
itojun
418cd7b465 /dev/arandom does not exist in netbsd. use /dev/urandom. 2002-05-24 04:53:07 +00:00
itojun
ed0f646e43 have an example with blowfish password. 2002-05-24 04:17:44 +00:00
itojun
caecca980a crank minor for bcrypt support 2002-05-24 04:07:05 +00:00
thorpej
967ae659f1 Add some casts to quiet a "discards qualifier from pointer target type"
warning from gcc 3.2 (experimental) (which is complaining about the loss
of __restrict).

Reviewed and approved by tshiozak@astec.co.jp.
2002-05-24 04:04:30 +00:00
itojun
c89c003ed2 support bcrypt password. can be chosen by "blowfish" keyword in passwd.conf.
from openbsd
2002-05-24 04:02:47 +00:00
itojun
e68f73c3fe add arc4random(3). from openbsd 2002-05-24 04:01:43 +00:00
perseant
43ca783b4a Back out rev 1.174 of vfs_subr.c, because the splbio() wasn't protecting
enough to be useful, and broadening it so that it did would have meant
that operations possibly requiring synchronous disk activity would have
to be done in splbio().  This clearly was not going to work.

Worked around this in the LFS case by having lfs_cluster_callback put an
extra hold on the vnode before calling biodone(), and taking the hold
off without HOLDRELE's problematic list swapping.  lfs_vunref() will take
care of that---in thread context---on the next write if need be.

Also, ensure that the list walking in lfs_{writevnodes,segunlock,gather}
takes into account the possibility that the list may change
underneath it (possibly because it itself deleted an element).

Tested on i386, test-compiled on alpha.
2002-05-23 23:05:25 +00:00
bjh21
681c52938e Regen (many new podules). 2002-05-23 22:01:14 +00:00
bjh21
e3d123e4e4 Add all the product IDs from <arm/xcb.h> on RISC iX 1.2. There are several
places where they disagree with our list (and reality).  In those cases,
I've kept the old value and added a comment.  The RISC iX list stops at
ID 181 (0xb5).
2002-05-23 22:00:49 +00:00
matt
2ea027698b Add support to print interface counters (via SIOCGIFDATA) when the [new]
option -v is provided.
2002-05-23 21:38:01 +00:00
matt
486c7ce727 Add SIOCGIFDATA and SIOCZIFDATA ioctl's to get interface data. (the Z
variant also zeroes the counters after copying them).  In ifunit, add
support for dealing all numeric ifname by treating them as an ifindex
which is used to look up the interface.
2002-05-23 21:34:39 +00:00
martin
40813b3bd4 When using standard (no scroll wheel) protocol, ignore garbage between
two packets (just like the old psm.c driver did). And don't insist on the
first byte having bit 0x08 set.

This makes some odd trackball device work.

Thanks to Tyler Mitchell for reporting and testing.
2002-05-23 19:00:28 +00:00
leo
c80fa51681 Not so fast... Add a bit of comment to the previous change. 2002-05-23 15:12:59 +00:00
leo
2ac118b51f Treat the "hdfd" (Atari/Hades floppy) like all the other "fd"s. OK-ed by
Greg Oster.
2002-05-23 15:03:33 +00:00
leo
65dd34362f Fix typo. 2002-05-23 14:59:28 +00:00
itojun
7e7fcd1df4 remove wrong "break" statement 2002-05-23 06:53:13 +00:00
leo
1babc14d15 Fix the siron()/siroff() macro's. They were using a too loose contraint
that made the wd-driver fall over on kernels compiled with the latest
assembler. The macro;s now use the single_inst_*() functions so there
are less places to go wrong here next time...
2002-05-23 06:46:20 +00:00
pooka
70b72ccc43 sgimips-specific changes:
* describe kernels
* remove misc/
* add netboot/
2002-05-23 06:44:17 +00:00
itojun
64a1cfbf83 no longer need IFT_PROPVIRTUAL "bridge[0-9]+" check. 2002-05-23 06:40:03 +00:00
leo
3f3c4827e0 Update md config:
- md0 -> 1MB image on a 720KB floppy
	- md1 -> 1.44MB image on a 720KB floppy
	- md2 -> 1.44MB image on a 1.44MB floppy
2002-05-23 06:39:32 +00:00
itojun
970757edd8 simplify conditions to do DAD. sync w/kame 2002-05-23 06:35:18 +00:00
leo
4393af0b6d regen. 2002-05-23 06:32:42 +00:00