Commit Graph

97595 Commits

Author SHA1 Message Date
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
leo
2ad2395021 Remove the 'ex at pci' driver. The ex driver does not work with the
3c900-COMBO card at the moment. Something is wrong with DMA.
2002-05-23 06:30:32 +00:00
itojun
e1d17f512b should perform DAD for IFT_GIF. 2002-05-23 06:28:25 +00:00
itojun
5a51285f02 do not have link-local address for IFT_BRIDGE 2002-05-23 06:25:25 +00:00
itojun
d64426f359 use IFT_BRIDGE 2002-05-23 06:19:39 +00:00
itojun
754f309c32 add recently-added IANA values from http://www.iana.org/assignments/smi-numbers 2002-05-23 06:18:44 +00:00
leo
5d6a896647 Force the absolute jump in a more elegant way. Suggested by Jaromir Dolecek. 2002-05-23 06:08:40 +00:00
pooka
a25409a53c use common xfer notes 2002-05-23 06:06:03 +00:00
pooka
8bf14942e0 add sgimips bits
from Scott G. Akmentins-Taylor
2002-05-23 06:05:41 +00:00
itojun
e54108f021 in m_aux_delete, no need to chase beyond victim. from Archie Cobbs, sync w/kame 2002-05-23 05:45:34 +00:00
pooka
a9c4f01782 * merge in documentation from Scott G. Akmentins-Taylor
* add bits and pieces here and there
2002-05-23 05:44:50 +00:00
simonb
fd401c6634 Add port 121/udp (erpc). 2002-05-23 04:34:39 +00:00
perseant
de3d200cd0 Re-checksum the superblock whenever it is marked dirty.
Tested on alpha.
2002-05-23 04:05:11 +00:00
nathanw
eb5a18d259 Deliberately #include the appropriate arch-specific param.h to get
the correct value for NBSG, even when building with a different sun68k
target.
2002-05-23 03:50:37 +00:00
gmcgarry
da51df2271 Clarify comment: cpu_startup() doesn't do autoconfiguration. 2002-05-23 03:05:30 +00:00
nathanw
c19639f45d Tell the user consistently that time zone files are in
/usr/share/zoneinfo, rather than that in one place and
/usr/share/timezone in another.
2002-05-23 02:57:08 +00:00
jmc
deed1e1714 Fix bug in the way the config_found loop runs. Passing NULL doesn't work well. 2002-05-23 00:10:46 +00:00
hubertf
89b73d6b18 add SRC definition (and use it, instead of hardcoding ../../..) 2002-05-23 00:03:38 +00:00
briggs
f03fce66ce Fix odd typo from addition of pba_bridgetag. 2002-05-22 23:54:14 +00:00
bjh21
f402b4faa2 Regen (sorting). 2002-05-22 23:46:53 +00:00
bjh21
2a1092efaa Sort the Wild Vision parallel card into order. 2002-05-22 23:46:36 +00:00
bjh21
1e170f49cd Regen (merge of RISC iX manufacturers list). 2002-05-22 23:27:16 +00:00
bjh21
35010db489 Merge in the list of manufacturer IDs from <arm/xcb.h> on RISC iX 1.2.
Where they differ with what we've had historically, I've kept our value
and added a comment.  The RISC iX list stops at 65 (0x41).
2002-05-22 23:23:23 +00:00