Shadow's epoll and poll don't support EPOLLERR
and EPOLLHUP
#2181
Labels
Type: Enhancement
New functionality or improved design
Milestone
Events for poll and epoll include
EPOLLHUP
/POLLHUP
andEPOLLERR
/POLLERR
to indicate hang up / error conditions on files. Shadow currently only supportsEPOLLIN
andEPOLLOUT
for level-triggered events, so it does not correctly indicate these hang up / error conditions.We also need better tests for these conditions, and for the behaviour of
select()
. I think sometimes a file where epoll would returnEPOLLHUP
and notEPOLLIN
will still appear in thereadfds
list forselect()
.The text was updated successfully, but these errors were encountered: