mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
df3cbc41fa
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 |
||
---|---|---|
.. | ||
dead_vnops.c |