diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-12-25 11:04:59 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-12-25 11:04:59 +0000 |
commit | 778880db2d72212c998331abce672c41b0a690bc (patch) | |
tree | cfde2a3d4082034a3ea02236be3b2dc8d9c079de /regress | |
parent | dc74b51aba9b56a26bb79fa5984f02e223fba29e (diff) |
kqueue: Invalidate revoked vnodes' knotes on the fly
When a tty device is revoked, the associated knotes should be
invalidated. Otherwise the user processes can keep on receiving
events from the device.
It appears tricky to do the invalidation as part of revocation
in a way that does not allow unwanted event registration or clutter
the tty code. For now, make the knotes invalid lazily before delivery.
OK mpi@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions