Let poll(2) register EVFILT_EXCEPT filter with dead vnodes
authorvisa <visa@openbsd.org>
Mon, 20 Dec 2021 16:22:24 +0000 (16:22 +0000)
committervisa <visa@openbsd.org>
Mon, 20 Dec 2021 16:22:24 +0000 (16:22 +0000)
commit3a22be5ae011a2484674d29bfc23eaf175685b96
tree5f50026489411dddb874e8f2ae1ccafe068eec52
parent69e8f6418b1659cda0a6efe8fb044ac8ece528d0
Let poll(2) register EVFILT_EXCEPT filter with dead vnodes

This enables the system deliver POLLHUP when pollfd.events == 0.
sys/miscfs/deadfs/dead_vnops.c