Run seltrue/dead event filter in modify and process callbacks
authorvisa <visa@openbsd.org>
Mon, 20 Dec 2021 16:21:07 +0000 (16:21 +0000)
committervisa <visa@openbsd.org>
Mon, 20 Dec 2021 16:21:07 +0000 (16:21 +0000)
commit69e8f6418b1659cda0a6efe8fb044ac8ece528d0
tree27d2925122a8cdc1bb348e6bf6e9d6e2e6bcb199
parentd997d144bba865ef0ed7b48a44b6e682be357f26
Run seltrue/dead event filter in modify and process callbacks

Do not assume event status in the modify and process callbacks. Instead
always run the event filter so that it has a chance to set knote flags.
The filter can also indicate event inactivity.
sys/kern/kern_event.c