freebsd-nq/sys
John Baldwin ecd8246189 If vn_open() fails during kern_open(), don't fdrop() the new file object
until after the call to fdclose().  This closes an obscure race that
could result in the later call to fdclose() actually closing a different
file descriptor if another thread close()'s the file descriptor being
opened before fdrop() is called, so the fdrop() in kern_open() frees the
file object, then the second thread (or a third) creates a new file
descriptor which reuses both the same index and the same file pointer
thus tricking fdclose() in the first thread into thinking that the
original file was still open.

MFC after:	1 week
2007-03-21 19:32:08 +00:00
..
amd64 Change the amd64, i386, and ia64 nexus drivers to setup bus space tags and 2007-03-21 15:36:38 +00:00
arm Fix a comment 2007-03-21 07:49:56 +00:00
boot - Moved the uninitialized variables from the data to the bss section. 2007-03-17 05:30:03 +00:00
bsm Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events 2006-09-25 12:22:07 +00:00
cam A silly buglet found by Coverity- check the return value from 2007-03-15 06:42:54 +00:00
coda Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
compat Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
conf Make TCP_DROP_SYNFIN a standard part of TCP. Disabled by default it 2007-03-21 18:25:28 +00:00
contrib Teach pfsync(4) that its member interfaces may go away. 2007-03-19 17:52:15 +00:00
crypto Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
ddb Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
dev Fix an off-by-one error in iwi_init_fw_dma(). It didn't reuse the existing 2007-03-21 18:40:31 +00:00
fs Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
gdb
geom Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
gnu Add "force" to ext2_ops, to match what was in the old mount_ext2fs binary. 2007-03-15 00:09:50 +00:00
i4b o break newbus api: add a new argument of type driver_filter_t to 2007-02-24 02:28:07 +00:00
i386 Change the amd64, i386, and ia64 nexus drivers to setup bus space tags and 2007-03-21 15:36:38 +00:00
ia64 Change the amd64, i386, and ia64 nexus drivers to setup bus space tags and 2007-03-21 15:36:38 +00:00
isa Partial fix for a bug in rev.1.231. If suspend/resume clobbers the 2007-03-05 09:10:17 +00:00
kern If vn_open() fails during kern_open(), don't fdrop() the new file object 2007-03-21 19:32:08 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules another missing change for recent crypto mods 2007-03-21 17:37:13 +00:00
net Make the m_pullup() diagnostic message compile-time conditional on DIAGNOSTIC. 2007-03-20 14:29:54 +00:00
net80211 change ic_modecaps to a bit vector and use setbit, et. al. 2007-03-11 22:37:32 +00:00
netatalk Use privilege PRIV_NET_ADDIFADDR rather than suser() to authorize 2007-02-19 22:40:02 +00:00
netatm Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netgraph Implement reference counting for ifmultiaddr, in_multi, and in6_multi 2007-03-20 00:36:10 +00:00
netinet Subtract optlen in the maximum length check for TSO and finally avoid 2007-03-21 19:04:07 +00:00
netinet6 Implement reference counting for ifmultiaddr, in_multi, and in6_multi 2007-03-20 00:36:10 +00:00
netipsec Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
netipx Build ipx_ip.c only if options IPXIP is defined. No functional change. 2007-02-26 11:55:34 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Factor out my copyrights + licenses from Charles D. Cranor and 2007-01-08 22:30:39 +00:00
netncp Use pause() rather than tsleep() on stack variables and function pointers. 2007-02-27 17:23:29 +00:00
netsmb Backing out the wrong fix which could possibly trash the memory if devfs 2007-02-09 17:22:10 +00:00
nfs NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4client Rename some functions and variables from nfs_* to nfs4_* to avoid 2007-01-25 14:33:13 +00:00
nfsclient Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
nfsserver - Turn all explicit giant acquires into conditional VFS_LOCK_GIANTs. 2007-03-17 18:18:08 +00:00
opencrypto add missing file from last commit that overhauls crypto/driver api's 2007-03-21 03:43:33 +00:00
pc98 Don't call bus_deactivate_resource() explicitly before calling 2007-03-21 03:38:37 +00:00
pccard
pci Add new ST201 PCI id. 2007-03-10 03:10:34 +00:00
powerpc Push down the implementation of PCPU_LAZY_INC() into the machine-dependent 2007-03-11 05:54:29 +00:00
rpc
security Remove 'MPSAFE' annotations from the comments above most system calls: all 2007-03-04 22:36:48 +00:00
sparc64 Push down the implementation of PCPU_LAZY_INC() into the machine-dependent 2007-03-11 05:54:29 +00:00
sun4v Push down the implementation of PCPU_LAZY_INC() into the machine-dependent 2007-03-11 05:54:29 +00:00
sys Space to tab in SB_* defines to match with rest of file. 2007-03-19 18:40:31 +00:00
tools - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a 2007-03-02 11:42:56 +00:00
ufs Mark UFS as being MP-Safe in "options QUOTA" case too. Remove no more 2007-03-20 10:51:45 +00:00
vm Use PCPU_LAZY_INC() to update page fault statistics. 2007-03-05 18:55:14 +00:00
Makefile o Add cam to a list of cscope dirs. 2006-11-26 18:27:16 +00:00