Re: POLLHUP vs EVFILT_EXCEPT semantic

2021-10-22 Thread Todd C . Miller
On Fri, 22 Oct 2021 14:25:18 +0100, Martin Pieuchot wrote: > Last year we added the new EVFILT_EXCEPT filter type to kqueue in > order to report conditions currently available via POLLPRI/POLLRDBAND > in poll(2) and select(2). > > This new filter has been implemented in tty and socket by re-using

Re: POLLHUP vs EVFILT_EXCEPT semantic

2021-10-22 Thread Visa Hankala
On Fri, Oct 22, 2021 at 02:25:18PM +0100, Martin Pieuchot wrote: > Last year we added the new EVFILT_EXCEPT filter type to kqueue in > order to report conditions currently available via POLLPRI/POLLRDBAND > in poll(2) and select(2). > > This new filter has been implemented in tty and socket by re-

POLLHUP vs EVFILT_EXCEPT semantic

2021-10-22 Thread Martin Pieuchot
Last year we added the new EVFILT_EXCEPT filter type to kqueue in order to report conditions currently available via POLLPRI/POLLRDBAND in poll(2) and select(2). This new filter has been implemented in tty and socket by re-using the existing kqueue's "read" filter. This has a downside which is th