1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Robert Drehmel 4e19fe1081 To avoid a kernel panic provoked by a NULL pointer dereference,
do not clear the `sb_sel' member of the sockbuf structure
while invalidating the receive sockbuf in sorflush(), called
from soshutdown().

The panic was reproduceable from user land by attaching a knote
with EVFILT_READ filters to a socket, disabling further reads
from it using shutdown(2), and then closing it.  knote_remove()
was called to remove all knotes from the socket file descriptor
by detaching each using its associated filterops' detach call-
back function, sordetach() in this case, which tried to remove
itself from the invalidated sockbuf's klist (sb_sel.si_note).

PR:	kern/54331
2003-07-17 23:49:10 +00:00
..
alpha Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
amd64 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
arm
boot Fix the ski loader, broken by the gcc upgrade. Update the linker 2003-07-17 01:49:59 +00:00
cam Add quirk entry for IntelligentStick disc-on-key USB devices. 2003-07-17 15:33:08 +00:00
coda
compat Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa for 2003-06-28 19:32:07 +00:00
conf make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
contrib Fix the ACPI_DEBUG build for the non-module case. Move the #define into 2003-07-15 19:18:41 +00:00
crypto
ddb
dev Style(9) cleanup. There was no consistent style in this driver, and 2003-07-17 19:37:56 +00:00
fs If bread() returns a zero-length buffer, as can happen after a 2003-07-03 14:54:47 +00:00
geom Handle geoms which are withering away specially in the dump functions. 2003-07-08 21:12:40 +00:00
gnu
i4b Mega busdma API commit. 2003-07-01 15:52:06 +00:00
i386 Now that the dust has settled, make dflt_lock() always panic. 2003-07-17 16:07:46 +00:00
ia64 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 04:43:33 +00:00
isa Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 2003-07-12 18:36:04 +00:00
isofs/cd9660
kern To avoid a kernel panic provoked by a NULL pointer dereference, 2003-07-17 23:49:10 +00:00
libkern
modules make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
net Implement an utility function that can be used by device drivers to 2003-07-15 10:37:09 +00:00
net80211 insure ic_bss always has a "valid" channel; avoids problems where users could 2003-06-29 20:13:38 +00:00
netatalk
netatm
netgraph add missing machine/bus.h that is necessary to build now that usb is bus_dma 2003-07-16 03:43:14 +00:00
netinet Drop Giant around syncache timer processing. 2003-07-17 11:19:25 +00:00
netinet6
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx
netkey
netnatm Instead of returning an error call the ioctl() handler of the interface 2003-07-15 15:51:50 +00:00
netncp
netsmb
nfs
nfsclient Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
pccard
pci Add support for the 8139C+ chipset. Unlike the other chips in the 8139 2003-07-10 20:38:48 +00:00
posix4
powerpc Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
rpc
security Remove trailing whitespace. 2003-07-05 01:24:36 +00:00
sparc64 Avoid exposing declarations for kernel variables to userland. 2003-07-17 23:42:08 +00:00
sys To avoid a kernel panic provoked by a NULL pointer dereference, 2003-07-17 23:49:10 +00:00
tools
ufs We just cached the inode pointer, no need to call VTOI() again. 2003-07-04 12:16:33 +00:00
vm Make sure that SWP_NPAGES always has the same value in all source 2003-07-17 21:58:43 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00