Commit Graph

150635 Commits

Author SHA1 Message Date
elad
95ed982c27 Fix two horrible bugs found during a routine audit session with Brett Lymn.
First one was incorrectly loading entries -- we were treating each file as
a mount, which resulted in huge mess. I have no excuse for how I didn't
catch this earlier.

Second, use the table name we create for the Veriexec sysctl node and not
the fixed "table0".

Both are fileassoc(9) integration fallout.
2006-09-05 13:02:16 +00:00
christos
90f5d4a3e0 Apply patch-CVE-2006-4339.txt
Daniel Bleichenbacher recently described an attack on PKCS #1 v1.5
signatures. If an RSA key with exponent 3 is used it may be possible
to forge a PKCS #1 v1.5 signature signed by that key. Implementations
may incorrectly verify the certificate if they are not checking for
excess data in the RSA exponentiation result of the signature.

Since there are CAs using exponent 3 in wide use, and PKCS #1 v1.5 is
used in X.509 certificates, all software that uses OpenSSL to verify
X.509 certificates is potentially vulnerable, as well as any other use
of PKCS #1 v1.5. This includes software that uses OpenSSL for SSL or
TLS.
2006-09-05 12:24:08 +00:00
hira
fadb259b4d Fix uninitialized variables. 2006-09-05 12:11:27 +00:00
uwe
2a48f4de87 Switch dreamcast to MI todr(9).
Dreamcast does not use SuperH on-chip RTC, so do it seprately from
other sh3 ports.  Convert dreamcast rtc code into a real device
instead of searching/attaching it manually.

Tested by Nick Hudson.
2006-09-05 11:09:36 +00:00
manu
ea514e44f5 typo 2006-09-05 08:17:09 +00:00
gdamore
86352b01a2 Convert to MI todr. 2006-09-05 07:34:54 +00:00
gdamore
113dbc3b0d Update sun3 to use timecounters (interrupt clock only) and generic-todr. 2006-09-05 06:45:05 +00:00
garbled
38209f62b7 Convert prep to MI todr 2006-09-05 06:32:21 +00:00
mhitch
14c9ea00e0 Switch amiga to MI todr. 2006-09-05 05:32:30 +00:00
matt
3aa5e506b7 Rewrite of red-black tree code. 2006-09-05 04:35:45 +00:00
oster
f23a530674 Per a suggestion from Manuel, make numBlocks and partitionSize
unsigned for now.  This prevents rf_reasonable_label() from rejecting
a valid label when these fields have an integer overflow.  The reality
is that these need to be 64-bit quantities, but that will come later.
2006-09-05 01:55:21 +00:00
rumble
f30a520560 Switch sgimips to MI todr. 2006-09-05 01:38:59 +00:00
gdamore
c119401402 Update algor clock handling. This includes using the common mc146818
support code, using the common MIPS 3 cp0 based interrupt code, adding
time counters, and using the generic TODR code.

Unfortunately, due to lack of hardware, I don't know for sure that any
of this works, though the same code in evbmips works.  Commiting anyway,
ok'd by simon@.
2006-09-05 01:33:24 +00:00
rpaulo
c2be3dff63 Mention ECN and mark me responsible. 2006-09-05 00:43:44 +00:00
rpaulo
2fb2ae3251 Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.
2006-09-05 00:29:35 +00:00
uwe
6ee025d984 general_exception: g/c infinite loop after the call to panic. 2006-09-04 23:57:52 +00:00
gdamore
a37acb1b52 Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
2006-09-04 23:45:30 +00:00
liamjfoy
2e60755ac8 add net.inet.ip.maxflows. Bump date. 2006-09-04 23:40:18 +00:00
liamjfoy
36661dd3cb Update for carp(4). Bump date.
from openbsd
2006-09-04 23:16:22 +00:00
dan
1860a17382 typo in debug printf 2006-09-04 22:51:42 +00:00
uwe
fc43c0c3f5 s/0/NULL/ for pointers. 2006-09-04 22:10:50 +00:00
rumble
fc6e81a8cb Check the haltwo hardware present bit in the match function, rather than
in the attach function after we've thwacked several registers and
potentially wedged the machine. This fixes booting on Challenge S systems
and addresses PR 25202.

Consequently, re-enable haltwo in the default kernel configuration.

Many thanks to George Harvey for testing and feedback.
2006-09-04 22:06:06 +00:00
hubertf
b7be24d378 Fix two oversights from last update 2006-09-04 22:03:50 +00:00
hubertf
dd0080d52a Update with changes by Gilbert Fernandes <gilboooo@gmail.com>,
review and some updates from bouyer@
2006-09-04 22:00:52 +00:00
hubertf
46f83bb806 Update, submitted by Marco <marcotrillo@gmail.com>
OK'd by xtraeme@
2006-09-04 21:46:32 +00:00
scw
456695f0eb The kernel is built with "-mdiv=call", so add a __sdivsi3_1 alias
for __sdivsi3.
2006-09-04 20:44:48 +00:00
scw
dc27fa975f Set the division strategy to 'call' to avoid explicit references to
'div_table' when the default 'call2' is used.
2006-09-04 20:43:01 +00:00
tsutsui
9bdabd4316 Switch newsmips to MI todr. 2006-09-04 20:33:24 +00:00
tsutsui
8c3452b4f9 Switch news68k to MI todr. 2006-09-04 20:32:57 +00:00
tsutsui
a80eefbb0e Switch hp300 to MI todr. 2006-09-04 20:32:11 +00:00
tsutsui
220a3453b5 Switch ews4800mips to MI todr. 2006-09-04 20:31:30 +00:00
tsutsui
087695a56b Switch cobalt to MI todr. 2006-09-04 20:30:40 +00:00
dsl
1719403bf2 Fix typo, update date.
Fixes PR/34472
2006-09-04 20:30:36 +00:00
scw
998e6a1552 Drop the volatile qualifier from switch_exit()'s prototype. 2006-09-04 20:10:42 +00:00
scw
163f415b3f Appease gcc4. 2006-09-04 20:09:55 +00:00
scw
a5ff553c53 Rearrange some code to avoid a gcc4 'possibly uninitialised variable' warning. 2006-09-04 20:08:56 +00:00
scw
5cd57a5a0f Pull in <sys/evcnt.h> 2006-09-04 20:05:45 +00:00
scw
19dac2e487 Remove unused r_sp #define. 2006-09-04 20:05:12 +00:00
scw
f177e531c7 Switch sh5el to gcc4. 2006-09-04 20:03:21 +00:00
scw
959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +00:00
dsl
75469d03e1 Separate out the CRC functions in a manner that actually makes them useful
for other program binaries.
Fixes build of 'config' where I added code (commented out) to use the CRC
function - but didn't comment out the #include :-(
2006-09-04 20:01:10 +00:00
scw
ddf78ea470 Check explicitly for sh5*-*-netbsd* when setting sh_multilibs. 2006-09-04 19:51:26 +00:00
christos
f11da4b014 make this compile again. 2006-09-04 18:42:14 +00:00
wiz
fa959b48e1 Bump date for previous. 2006-09-04 18:34:42 +00:00
wiz
9f28457331 errx() provides a newline on its own, so remove the one from the error string. 2006-09-04 18:34:22 +00:00
wiz
2ba7db1893 Fix typo. 2006-09-04 18:32:54 +00:00
wiz
47dcdcc51f Remove references to netccitt and netns directories. Bump date. 2006-09-04 17:04:29 +00:00
christos
ccd5bfd356 fix formatting of df -h; from Zafer. 2006-09-04 16:32:57 +00:00
riz
16da560700 Correct usage: "-s" is the flag for the new size of the LFS, not "-n". 2006-09-04 15:45:29 +00:00
martin
16f200486d Add support for IO-DATA's USB-Serial adapter (USB-RSAQ3),
from Keiichi SHIMA.
2006-09-04 15:39:39 +00:00