freebsd-skq/sys
Matthew Dillon 3db161e079 It is possible for an active aio to prevent shared memory from being
dereferenced when a process exits due to the vmspace ref-count being
bumped.  Change shmexit() and shmexit_myhook() to take a vmspace instead
of a process and call it in vmspace_dofree().  This way if it is missed
in exit1()'s early-resource-free it will still be caught when the zombie is
reaped.

Also fix a potential race in shmexit_myhook() by NULLing out
vmspace->vm_shm prior to calling shm_delete_mapping() and free().

MFC after:	7 days
2003-01-13 23:04:32 +00:00
..
alpha Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
amd64 Remove earlysetcpuclass() as it has been OBE. 2003-01-09 19:59:28 +00:00
arm MB_LEN_MAX is not MD, move it to the MI limits.h. 2002-12-22 06:38:45 +00:00
boot Fix interactive booting: 2003-01-13 21:28:24 +00:00
cam Quirk for Sony USB disk-on-key device. 2003-01-13 05:09:07 +00:00
coda Back our kernel support for reliable signal queues. 2002-10-01 17:15:53 +00:00
compat Apply bandaid to bring svr4_sys_waitsys() in line with exit1(). This 2003-01-13 22:44:23 +00:00
conf Add a pcib variant to allow us to fix up interrupt assignments. 2003-01-09 12:04:18 +00:00
contrib SMP locking for ifnet list. 2002-12-22 05:35:03 +00:00
crypto Make this compilable from userland as well. 2002-11-01 08:56:39 +00:00
ddb Revert previous and move the prototype for db_alt_break to ddb.h. 2002-12-31 18:30:53 +00:00
dev OK Ok, so I didn't check the NO_GEOM case for the final version... 2003-01-13 20:19:04 +00:00
fs Even if the permissions deny it, a process should be allowed to 2003-01-13 22:20:36 +00:00
geom Always issue ioctls as BIO_GEATTR requests. The direction of data copies on 2003-01-13 11:34:35 +00:00
gnu Since Jeffr made the std* functions the default in rev 1.63 of 2003-01-04 08:47:19 +00:00
i4b Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
i386 Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
ia64 Move ia64_sapics and ia64_sapic_count from interrupt.c to sapic.c 2003-01-06 02:09:08 +00:00
isa Bail out of fd_clone() if the parsed unit number doesn't match our 2003-01-11 20:10:41 +00:00
isofs/cd9660 Temporarily introduce a new VOP_SPECSTRATEGY operation while I try 2003-01-04 22:10:36 +00:00
kern It is possible for an active aio to prevent shared memory from being 2003-01-13 23:04:32 +00:00
libkern Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
modules Add opt_geom.h to the list. 2003-01-13 08:31:41 +00:00
net don't reference a pkthdr after M_MOVE_PKTHDR has "remove it"; instead 2003-01-06 21:33:54 +00:00
netatalk Lock up ifaddr reference counts. 2002-12-18 11:46:59 +00:00
netatm Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
netgraph Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
netinet Fix NewReno. 2003-01-13 11:01:20 +00:00
netinet6 "struct route" is not sufficient. NetBSD PR 18751 2003-01-08 17:59:24 +00:00
netipsec o handle jumbograms in m_clone 2003-01-09 05:30:25 +00:00
netipx Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
netkey "struct route" is not sufficient. NetBSD PR 18751 2003-01-08 17:59:24 +00:00
netnatm Be consistent about functions being static. 2002-10-16 09:19:17 +00:00
netncp - Change mb_copy_t to take a size_t as the length argument instead of an 2002-11-08 21:26:32 +00:00
netns Use m_length() instead of home-rolled versions. 2002-09-18 19:44:14 +00:00
netsmb Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
nfs Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
nfsclient Since Jeffr made the std* functions the default in rev 1.63 of 2003-01-04 08:47:19 +00:00
nfsserver Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
opencrypto Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
pc98 Fixed typo and style. 2003-01-13 06:51:16 +00:00
pccard Merge from P4: 2003-01-04 17:26:35 +00:00
pci Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHY 2003-01-12 21:03:38 +00:00
posix4 Use copyout to access user memory. 2003-01-07 20:10:04 +00:00
powerpc Correct an off-by-one error in the calculation of the number of interrupt 2003-01-13 03:24:07 +00:00
rpc
security Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
sparc64 Enable rl(4). It is now fully working using busdma. 2003-01-13 04:06:38 +00:00
sys It is possible for an active aio to prevent shared memory from being 2003-01-13 23:04:32 +00:00
tools - Move ASSERT_VOP_*LOCK* functionality into functions in vfs_subr.c 2002-09-26 04:48:44 +00:00
ufs Bow to the whining masses and change a union back into void *. Retain 2003-01-13 00:33:17 +00:00
vm It is possible for an active aio to prevent shared memory from being 2003-01-13 23:04:32 +00:00
Makefile