CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/12/18 09:16:14
Modified files:
sys/kern : kern_event.c
sys/sys : eventvar.h
Log message:
Add fd close notification for kqueue-based poll() and select()
When the file descriptor of an __EV_POLL-flagged knote is closed,
post EBADF through the kqueue instance to the caller of kqueue_scan().
This lets kqueue-based poll() and select() preserve their current
behaviour of returning EBADF when a polled file descriptor is closed
concurrently.
OK mpi@