NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/42724 (select(2) and poll(2) can return non-error status on bad file descriptors)
Synopsis: select(2) and poll(2) can return non-error status on bad file descriptors
State-Changed-From-To: feedback->closed
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Thu, 17 Apr 2025 21:02:03 +0000
State-Changed-Why:
feedback timeout, unable to identify a specific problem here
(Correction to earlier: POLLHUP|POLLOUT is wrong -- the two bits are
mutually exclusive in POSIX (and have been for a while, I think):
https://pubs.opengroup.org/onlinepubs/9799919799/functions/poll.html
So Linux is wrong to return POLLHUP|POLLOUT|POLLWRNORM, and NetBSD is
right not to include POLLHUP, in one of the test cases I checked.)
Home |
Main Index |
Thread Index |
Old Index