freebsd-dev/sys
Konstantin Belousov df3cbc41fa The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively,
which is an elaborate way to cause kernel panic. Change the VOPs
implementation to return EBADF for a reclaimed vnode.

While the calls to vop_bmap should not reach deadfs, it is indeed
possible for vop_ioctl, because the VOP locking protocol is to pass
the vnode to VOP unlocked. The actual panic was observed when ioctl
was called on procfs filedescriptor which pointed to an exited
process.

Reported by:	zont
Tested by:	pho
MFC after:	1 week
2012-09-13 13:05:45 +00:00
..
amd64 Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
arm Simplify the kernel pmap locking in pmap_enter_pv(). While I'm here, tidy 2012-09-13 06:16:49 +00:00
boot Make pxe device in lsdev really include device name, looking like this: 2012-09-12 21:00:37 +00:00
bsm
cam Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
cddl Merge recent zfs vendor changes, sync code and adjust userland DEBUG. 2012-09-12 18:05:43 +00:00
compat Remove redundant check 2012-09-12 10:12:03 +00:00
conf Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
contrib Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
fs The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, 2012-09-13 13:05:45 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom When synchronizing, include in the config dump amount of 2012-09-11 20:20:13 +00:00
gnu/fs Add VFCF_READONLY flag that indicates ntfs and xfs file systems are 2012-09-12 03:42:52 +00:00
i386 Rename the IVY_RNG option to RDRAND_RNG. 2012-09-13 10:12:16 +00:00
ia64 userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
isa
kern Improve check coverage about idle threads. 2012-09-12 22:10:53 +00:00
kgssapi
libkern - Move jenkins.h to jenkins_hash.c 2012-09-04 12:07:33 +00:00
mips Simplify pmap_unmapdev(). Since kmem_free() eventually calls pmap_remove(), 2012-09-10 16:11:29 +00:00
modules Update interface to firmware 1.6.2 and include the firmware in the driver. 2012-09-13 06:32:52 +00:00
net Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
net80211 Fix an incorrect comparison. 2012-08-16 00:53:23 +00:00
netatalk Fix typos 2012-02-28 15:07:05 +00:00
netgraph Remove duplicate check. 2012-08-03 12:55:31 +00:00
netinet Whitespace changes. 2012-09-09 08:14:04 +00:00
netinet6 Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
netipsec In NAT-T transport mode, allow a client to open a new connection just after 2012-09-12 12:14:50 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb Change a duplicated check to clarify that we really want to set a 2012-07-10 21:02:59 +00:00
nfs - Typo fix 2012-08-16 19:22:34 +00:00
nfsclient Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nfsserver
nlm Fix grammar. 2012-08-16 13:01:56 +00:00
ofed Remove unneeded ipfw headers introduced in r213447 from Infiniband code. 2012-09-04 10:56:30 +00:00
opencrypto
pc98 Grammar fix: s/NIC's/NICs/ 2012-08-26 01:21:02 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
rpc Fix RPC headers for C++ 2012-09-02 21:04:40 +00:00
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
sys Rename __member2struct() to __containerof(). 2012-09-13 08:13:01 +00:00
teken
tools
ufs Remove unused member of struct indir (in_exists) from UFS and EXT2 code. 2012-08-17 17:45:27 +00:00
vm - Simplify VM code by using vmspace_wired_count() for counting wired 2012-09-05 18:19:54 +00:00
x86 Allow static DMA allocations that allow for enough segments to do page-sized 2012-08-17 14:14:25 +00:00
xdr
xen blkif interface comment cleanups. No functional changes 2012-02-29 17:47:01 +00:00
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00