NetBSD/sys
jmmv e0fd5659c6 Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a
reference to the parent directory's vnode instead of its smbnode to
avoid a use-after-free bug causing a panic when a smbfs mount is
forcefully unmounted.

Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy.  This
stops attempts to unmount idle smbfs mounts failing with EBUSY.

The easiest way to reproduce the above problem, from what I have seen is:
1) Assume /s is a smbfs mount point.
2) mount /s
3) stat /s/foo/1
4) umount /s
   Returns error because the file system is busy.
5) Shutdown the machine: panic in smbfs_reclaim because vrele
   accesses already-released memory.
2006-11-02 17:34:21 +00:00
..
altq Don't allow to initialize an interface with MTU smaller than one. 2006-10-28 11:35:17 +00:00
arch Make the syscall "code" variable unsigned - we don't test for negative 2006-11-01 22:37:35 +00:00
coda Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all 2006-10-20 18:58:12 +00:00
compat Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
conf Add -Wextra -Wno-unused for prep. 2006-10-30 17:56:30 +00:00
contrib/dev/ath depend on the cardbus version too. 2006-10-30 01:31:04 +00:00
crypto Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
ddb - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
dev Don't touch the VR_STICKHW register on VT3043. 2006-11-02 17:32:11 +00:00
dist now that we have -Wno-unused-parameter, back out all the tremendously ugly 2006-10-17 18:21:29 +00:00
fs Bring in fix from FreeBSD by tjr, 3 years and 9 months ago: Store a 2006-11-02 17:34:21 +00:00
gdbscripts Make these work again. I know, I'm a bit impatient, since they've 2006-09-29 15:43:06 +00:00
ipkdb
kern ltsleep: fix a race with wakeup(). 2006-11-02 16:26:25 +00:00
lib Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
lkm Make pn_family static. 2006-10-04 21:47:56 +00:00
miscfs Redo Veriexec raw disk/memory access policies so they hold only if the 2006-11-02 12:48:35 +00:00
net Do not truncate the last char from a remote error message 2006-11-01 12:10:06 +00:00
net80211 Move AMRR code out of wpi(4) and ural(4) into net80211 itself. 2006-10-31 21:53:41 +00:00
netatalk Kill KAUTH_GENERIC_ISSUSER use. 2006-10-25 23:30:35 +00:00
netbt - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
netinet Fix typo (hi Elad) 2006-10-30 00:58:21 +00:00
netinet6 Commented out IPv6 socket options which are no longer supported. 2006-10-31 00:29:30 +00:00
netipsec more __unused 2006-10-13 20:53:59 +00:00
netisdn Kill KAUTH_GENERIC_ISSUSER. 2006-10-25 23:44:42 +00:00
netiso Kill some KAUTH_GENERIC_ISSUSER. 2006-10-25 23:40:57 +00:00
netkey Fix argument order 2006-10-14 21:05:40 +00:00
netnatm
netsmb - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
nfs Revert the changes I introduced trying to solve tmpfs' NFS export problem. 2006-10-31 08:12:46 +00:00
opencrypto Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
secmodel Use integers, not pointers to integers, for KAUTH_REQ_NETWORK_SOCKET_OPEN. 2006-10-30 16:53:48 +00:00
stand
sys put back p_ename, lost in the previous commit. 2006-11-02 13:28:25 +00:00
ufs Revisit mnt_vnodelist TAILQ patch. Remove all suspicious TAILQ_FOREACH() 2006-10-25 22:01:54 +00:00
uvm remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
Makefile don't descend to crypto. 2006-10-29 19:08:53 +00:00