Commit Graph

145003 Commits

Author SHA1 Message Date
tsutsui 2f0e3614ae Sync with hpcsh/conf/ioconf.incl.hpcsh rev 1.2:
> XXX: #undef SET before including <machine/config_hook.h>, which defines
> SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
> Makes ioconf.c compile again.
2006-03-23 15:56:02 +00:00
dogcow 028f696b68 Since KerberosIV has gone away, so should NFSKERB. 2006-03-23 15:37:02 +00:00
rpaulo 51a2954a4d FreeBSD SA-06:11 and CVE-2006-0905: update the replay sequence number
or else the anti-reply technique won't work as expected.
2006-03-23 15:25:46 +00:00
itojun 682cc4ce96 disable recursion by attackers (yes, attackers do use recursion to perform DoS). 2006-03-23 13:50:44 +00:00
kochi 046e0fba2e Change header location in accordance with moving ACPI-CA to sys/dist/acpica 2006-03-23 13:46:13 +00:00
kochi 143b386a80 change header location in accordance with moving ACPI-CA to sys/dist 2006-03-23 13:45:11 +00:00
kochi 31d00d1ca0 Move ACPI-CA to sys/dist/acpica.
also move ACPI-CA OS dependent sources from sys/dev/acpi/acpica/Osd to
sys/dev/acpi/acpica.
2006-03-23 13:44:10 +00:00
kochi f0c5abbdc8 Move to sys/dev/acpi/acpica. 2006-03-23 13:43:05 +00:00
kochi f4afd64ab0 Move to sys/dist/acpica.
suggested by cube.
2006-03-23 13:42:25 +00:00
kochi cf31c67b37 Move from sys/dev/acpi/acpica/Osd. 2006-03-23 13:41:13 +00:00
kochi ec7315b11c Moved from sys/dev/acpi/acpica/Subsystem.
suggested by cube.
2006-03-23 13:36:31 +00:00
hannken cd28767efa ffs_balloc*(): Add an assertion for "bpp != NULL" if B_METAONLY is set.
From Coverity CIDs 1170..1173
2006-03-23 11:16:47 +00:00
jld 2ae09ef648 Fix handling of physmem (and the hw.usermem sysctl) to better reflect
reality -- the memory taken by the kernel image should be counted in the
former, but not the latter, as is the case on other ports.

Discussed on port-xen; approved by bouyer@.
2006-03-23 04:14:33 +00:00
oster 6c4936b6da This one is good for making one's brain hurt. Turns out that the
original RAIDframe code had the same bug with dag_h being used when
possibly NULL.  Use dagList as the starting point for any potential
dag_h's.  Move the initialization of dag_h in this part to a
little later.   Loop now runs through in equivalent lock-step with the
construction of the dagList earlier in the function.

Addresses Coverity CID 1129 (id=6841 Run 5).
2006-03-23 03:43:54 +00:00
christos 6883d3cdd3 Regen 2006-03-23 02:15:05 +00:00
christos c40c4c462e PR/33133: Dave J. Barnes: Belkin F5D5020 Ethernet PCMCIA card not recognised 2006-03-23 02:14:42 +00:00
riz a27001b755 Coverity CID 2757: Don't leak memory in error conditions. 2006-03-23 01:27:08 +00:00
agc e1d9f9cea5 First stab at implementing INQUIRY for Vital Product Data, aka Page 83
information in the Solaris initiator, with information taken from
SPC3, T10/1416-D Revision 23, from www.t10.org.

This is untested, work-in-progress.
2006-03-23 00:01:48 +00:00
elad 504a2dd02c Pull in from djm@OpenBSD:
remove IV support from the CRC attack detector, OpenSSH has never used
it - it only applied to IDEA-CFB, which we don't support.

Thanks to deraadt@OpenBSD for looking into this one.
2006-03-22 23:04:39 +00:00
drochner f81322cf18 build erand48_ieee754.c on everything but vax 2006-03-22 22:03:58 +00:00
drochner 7a2af2aba0 Rewrite erand48() to put the random bits into the mantissa by simple
bitshifts instead of calling ldexp() three times.
(for ieee doubles only -- vax can't use it, so the old version
needs to stay around)
This removes the dependency on ldexp() which also didn't participate in
the usual __RENAME game, thus lead to confusion.
In addition, this version is almost 3 times as fast for me.
2006-03-22 21:06:03 +00:00
drochner e89a43e9fd <math.h> is just needed for the ldexp() call in erand48() -
remove unnecessary dependency
2006-03-22 20:52:16 +00:00
drochner b0f21ee1ea merge libc/arch/{i386,x86_64}/gen/modf.S into one
(not quite a merge actually, just an #ifdef for now)
and build it in the i386 case (amd64 should work, just needs to be tested)
That way, a program linking against libm should get the optimized
version as expected.
2006-03-22 20:45:58 +00:00
bouyer 17cb72c505 In add_secure(), change
(status > 0) to (status == 0 && value). It doesn't make sense to handle value
only if there was an error.
Fix coverity ID 1709.
2006-03-22 19:54:13 +00:00
joerg 368cb1b951 Garbage collect cc in moduser, it is only set once, but never read as
noticed by lint.
2006-03-22 18:02:46 +00:00
joerg 5dc48904d3 Don't leak FILEs when flock fails. Found by Coverity (CID 1776, 1777 and
1778). Patch by Liam J. Foy, which handles one more case.
2006-03-22 18:01:11 +00:00
rpaulo 90a0e11d1b sendmail 8.13.6 is out. Fixes a security vuln found by ISS. 2006-03-22 17:21:33 +00:00
christos 83daacaaf8 Coverity CID 621: Remove dead code. 2006-03-22 17:16:09 +00:00
christos e5f6d71c5b Coverity CID 798: t can only be null if p is null. otherwise p needs to contain
a name.
2006-03-22 17:14:16 +00:00
christos 20a63f0a54 Coverity CID 888: Detect error when host is not found. 2006-03-22 17:10:33 +00:00
christos 2d056bacca Coverity CID 893: Check the pointer for NULL before using anyway, although
in the current situation it cannot happen.
2006-03-22 17:05:44 +00:00
christos 76ad3db40d Coverity CID 1644: Plug memory leak. 2006-03-22 17:03:29 +00:00
christos 84d29c783e Coverity CID 1645: Fix memory leak. 2006-03-22 17:01:47 +00:00
christos c8f598b3af Coverity CID 1646: Free storage on error 2006-03-22 16:58:30 +00:00
christos 2ed64bb14a Coverity CID 1647: Close file on error. 2006-03-22 16:57:18 +00:00
christos 4830490bed Coverity CID 1701: Fix memory and descriptor leak on error. 2006-03-22 16:56:10 +00:00
christos 821808de71 Coverity CID 1708: Close file on error. 2006-03-22 16:54:26 +00:00
christos b8595bc4e5 Coverity CID 2581: set variable to NULL after free. 2006-03-22 16:45:48 +00:00
christos 18358a0809 Coverity CID 2582: Set variables to NULL after freeing. 2006-03-22 16:44:30 +00:00
christos 17eb3e6ddd Coverity CID 2583: Appease error by setting name to NULL after free. 2006-03-22 16:42:41 +00:00
christos fbdfb6fbf0 Coverity CID 2753: Free the correct variable. 2006-03-22 16:35:44 +00:00
christos 39f876d6be Coverity CID 2757: Avoid leaking key_block 2006-03-22 16:32:39 +00:00
christos 7e2f55514f Coverity CID 1755: Add fts_close() in traverse. 2006-03-22 16:20:34 +00:00
christos a6ee606509 gcc says case is missing, coverity says case not reached. Appease both. 2006-03-22 16:16:59 +00:00
christos 6365ef6a81 Change previous to assert that the index is within bounds only when the
index actually used.
2006-03-22 16:12:19 +00:00
elad b1b1933857 obsolete /usr/include/kerberosIV, okay christos@ 2006-03-22 15:49:31 +00:00
christos bd5a805fc3 fix compile problem. 2006-03-22 15:45:16 +00:00
christos f88156c66b PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored
Both SIGINT and SIGABRT should be restored before executing the shell.
2006-03-22 15:36:49 +00:00
christos 93eceea780 Add missing parens. 2006-03-22 15:24:52 +00:00
christos 1324bf1ab1 Remove a variable that became set-and-not-used after the dead code removal. 2006-03-22 14:01:30 +00:00