freebsd-skq/sys/dev
Mark Murray 340a8a91c3 Fix a buffer overrun in /dev/random which, due to the nature of the
kernel memory allocator, is harmless. This could be a problem for
other systems, though. I've modified Darren's patch a little.

Original patch by: Darren Schack, Isilon Systems, Inc <darrens@isilon.com>
Also analysed by:  SGI, and in particular Divy Le Ray of SGI
OK'ed by:          re(rwatson)
2002-12-12 17:38:45 +00:00
..
aac Fix mis-indentation. 2002-10-20 16:00:43 +00:00
acpica Add sysctl knob to stop disabling acpi on shutdown. 2002-12-11 18:48:50 +00:00
advansys
agp Remove a bunch of #include "opt_pci.h". 2002-11-13 17:40:15 +00:00
aha
ahb
aic Add second and thrid bus-toaster IDs 2002-11-14 05:08:22 +00:00
aic7xxx The sequencer downloading code assumes that all jump 2002-12-05 00:47:27 +00:00
amd Fix some sizeof(int) != sizeof(void *) warnings. 2002-11-08 21:30:26 +00:00
amr (1) Problem: PANIC when loading/unloading driver 2002-12-11 20:59:46 +00:00
an network interface driver changes: 2002-11-14 23:54:55 +00:00
ar network interface driver changes: 2002-11-14 23:54:55 +00:00
asr Use a bandaid to fix a warning. However, this driver is very, very far 2002-11-06 19:42:59 +00:00
ata Fix linking problem when atadisk is not use in ata-all.c 2002-12-06 19:29:53 +00:00
atkbdc Include "opt_kbd.h" since certain structures size depend on the value 2002-10-15 21:35:01 +00:00
awi network interface driver changes: 2002-11-14 23:54:55 +00:00
bge network interface driver changes: 2002-11-14 23:54:55 +00:00
bktr Fix a panic unloading the bktr driver when devfs is in use. 2002-12-09 09:04:09 +00:00
buslogic Add some band-aid casts to quiet warnings. This driver still assumes 2002-11-06 20:34:38 +00:00
cardbus Need more parens here. 2002-11-27 17:30:41 +00:00
ccd
ciss Fix a bunch of warnings on 64 bit platforms in the 2002-10-27 12:27:04 +00:00
cm network interface driver changes: 2002-11-14 23:54:55 +00:00
cnw network interface driver changes: 2002-11-14 23:54:55 +00:00
cs network interface driver changes: 2002-11-14 23:54:55 +00:00
ct
cy
dc Xircom cards store the MAC address in the CIS, so get it from the new 2002-11-27 07:04:10 +00:00
de o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
dec
dgb
digi
dpt Use bus_addr_t instead of u_int32_t in functions to convert between 2002-11-06 21:19:17 +00:00
drm Remove an unused variable that snuck in the last commit. 2002-12-04 23:39:05 +00:00
ed network interface driver changes: 2002-11-14 23:54:55 +00:00
eisa Add tunable "hw.eisa_slots" to allow overriding the default number 2002-10-31 00:45:49 +00:00
em Fix IFF_ALLMULTI handling. 2002-11-25 20:00:13 +00:00
en network interface driver changes: 2002-11-14 23:54:55 +00:00
ep network interface driver changes: 2002-11-14 23:54:55 +00:00
ex network interface driver changes: 2002-11-14 23:54:55 +00:00
exca
fb Warning fixes. 2002-11-11 10:28:44 +00:00
fdc Capitalize the first letter of device descriptions 2002-11-11 15:26:08 +00:00
fe network interface driver changes: 2002-11-14 23:54:55 +00:00
firewire Reduce and improve debug messages. 2002-12-06 02:17:30 +00:00
fxp network interface driver changes: 2002-11-14 23:54:55 +00:00
gem Catch up with sam's changes to network interfaces. 2002-11-15 14:36:33 +00:00
gfb Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined in 2002-11-08 21:04:44 +00:00
gx network interface driver changes: 2002-11-14 23:54:55 +00:00
hea - Change the ATM stack functions to use intptr_t instead of int for opaque 2002-11-08 18:27:30 +00:00
hfa Adjust some casts to quiet warnings. 2002-11-06 22:58:55 +00:00
hifn whitespace/indentation fix from phk 2002-10-16 17:07:41 +00:00
hme network interface driver changes: 2002-11-14 23:54:55 +00:00
ic
ichsmb typo. 2002-10-18 12:06:01 +00:00
ida Use [u]intmax_t and %j instead of long long and %ll to better fix warnings 2002-11-07 22:23:46 +00:00
idt
ie network interface driver changes: 2002-11-14 23:54:55 +00:00
iicbus network interface driver changes: 2002-11-14 23:54:55 +00:00
iir Use [u]intmax_t and %j instead of long long and %ll to better fix warnings 2002-11-07 22:23:46 +00:00
isp LINT related fixes (as noticed by bde) 2002-10-14 22:13:51 +00:00
ispfw Know that a 10160 is the same as a 12160. 2002-10-12 00:12:31 +00:00
joy
kbd Include "opt_kbd.h" since certain structures size depend on the value 2002-10-15 21:35:01 +00:00
lge network interface driver changes: 2002-11-14 23:54:55 +00:00
lmc
lnc network interface driver changes: 2002-11-14 23:54:55 +00:00
mc146818
mca
mcd Replace {disable,enable}_intr() with critical_{enter,exit}(). 2002-11-10 03:45:49 +00:00
md Move the check for the MD_SHUTDOWN flag to before the tsleep() call 2002-11-30 22:03:53 +00:00
mii Remove unnecessary <sys/malloc.h> include. 2002-10-29 00:20:47 +00:00
mk48txx
mlx
mly Pass correct parameters to bus_space_barrier() instead of 0 2002-11-14 13:25:53 +00:00
mpt Be consistent about functions being static. 2002-10-16 08:48:39 +00:00
mse
musycc Use %z and %j to quiet warnings. 2002-11-07 22:21:38 +00:00
my network interface driver changes: 2002-11-14 23:54:55 +00:00
ncv o Changes to support NEWCARD. 2002-11-28 01:13:58 +00:00
nge network interface driver changes: 2002-11-14 23:54:55 +00:00
nmdm
nsp o Changes to support NEWCARD. 2002-11-28 01:09:29 +00:00
null
ofw Create the ofwcons device at SI_SUB_CONFIGURE instead of SI_SUB_DRIVERS, 2002-11-18 06:19:12 +00:00
pccard regen to 1.38 2002-11-28 01:00:40 +00:00
pccbb Remove a comple of bogus debug printfs that snuck in during some 2002-11-23 23:09:45 +00:00
pcf
pci Properly account for prefetchable memory when a request is being made. 2002-12-03 08:34:20 +00:00
pcic DETACH_FORCE was removed recently. Remove it here, even though this 2002-11-17 04:52:37 +00:00
pdq network interface driver changes: 2002-11-14 23:54:55 +00:00
ppbus network interface driver changes: 2002-11-14 23:54:55 +00:00
ppc
pst
puc
raidframe Play nice with GEOM and use the appropriate ioctls for getting the 2002-12-10 15:52:56 +00:00
random Fix a buffer overrun in /dev/random which, due to the nature of the 2002-12-12 17:38:45 +00:00
ray network interface driver changes: 2002-11-14 23:54:55 +00:00
rc Use critical_enter/exit instead of disable/enable_intr to make this 2002-11-08 18:32:57 +00:00
rp Fix data corruption caused by last byte in oddly sized transfers being read 2002-10-20 18:43:11 +00:00
sab Setup a default tty mode even if the device is not the console. Don't 2002-11-18 05:56:43 +00:00
sbni network interface driver changes: 2002-11-14 23:54:55 +00:00
scd Replace {disable,enable}_intr() with critical_{enter,exit}(). 2002-11-10 03:45:49 +00:00
sf o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
si Cast a pointer to uintptr_t instead ot u_int. 2002-11-07 19:56:21 +00:00
sio Make 'rclk' a uintptr_t to quiet warnings. 2002-11-07 22:22:10 +00:00
sk o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
smbus
sn network interface driver changes: 2002-11-14 23:54:55 +00:00
snc network interface driver changes: 2002-11-14 23:54:55 +00:00
snp Declare the snp ioctl()s to work on udev_t, since that is what they 2002-11-11 10:45:31 +00:00
sound (hopefully) fix build breakage some people are seeing 2002-11-26 18:16:27 +00:00
speaker Merge PC98 changes. 2002-11-02 04:18:10 +00:00
sr network interface driver changes: 2002-11-14 23:54:55 +00:00
stg o Changes to support NEWCARD. 2002-11-28 01:15:01 +00:00
streams
sym Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
syscons Do not try to work around ``poor (un)sign extension code'' 2002-10-20 22:50:13 +00:00
tdfx Print pointers with %p instead of casting them to an unsigned int and 2002-11-07 21:19:47 +00:00
tga - Move opt_fb.h earlier so it covers included headers. 2002-11-08 21:10:53 +00:00
ti o track either_ifattach/ether_ifdetach API changes 2002-11-14 23:49:09 +00:00
trm Remove the remaining calls to free(), they are not needed anymore now 2002-11-14 19:54:33 +00:00
twe Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
tx network interface driver changes: 2002-11-14 23:54:55 +00:00
txp network interface driver changes: 2002-11-14 23:54:55 +00:00
ubsec Quiet some DIAGNOSTIC printf warnings with band-aid casts. 2002-11-07 21:25:49 +00:00
usb MFNetBSD: (partial 1.133) 2002-12-09 01:41:24 +00:00
vinum revive_block: If we have an I/O error, don't forget to drop the stripe lock. 2002-12-12 01:03:45 +00:00
vr Import some relevant changes from Via's if_fet driver: 2002-11-25 05:15:27 +00:00
vx network interface driver changes: 2002-11-14 23:54:55 +00:00
wds - Use %p to print pointers instead of casting pointers to an int and using 2002-11-07 22:25:13 +00:00
wi network interface driver changes: 2002-11-14 23:54:55 +00:00
wl network interface driver changes: 2002-11-14 23:54:55 +00:00
xe network interface driver changes: 2002-11-14 23:54:55 +00:00