diff options
author | 2020-12-18 16:16:14 +0000 | |
---|---|---|
committer | 2020-12-18 16:16:14 +0000 | |
commit | 38cb82050136815712a7a732c8ec6a27c0b758a1 (patch) | |
tree | 681d321b628b3d9cdc3d55763542db0e779ed8e3 /sys/dev/fdt/imxgpc.c | |
parent | Make knote_{activate,remove}() internal to kern_event.c. (diff) | |
download | wireguard-openbsd-38cb82050136815712a7a732c8ec6a27c0b758a1.tar.xz wireguard-openbsd-38cb82050136815712a7a732c8ec6a27c0b758a1.zip |
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@
Diffstat (limited to 'sys/dev/fdt/imxgpc.c')
0 files changed, 0 insertions, 0 deletions