epoll_wait displaying fixes

Марк Коренберг socketpair at gmail.com
Mon Oct 10 05:00:49 UTC 2011


-- 1 --------------------------
Please add displaying EPOLLRDHUP to epoll_wait instead of 0x200

current vesion (4.5.20-2ubuntu2)
epoll_wait(15, {{EPOLLIN|EPOLLOUT|0x2000, {u32=3601723040,
u64=140376017858208}}}, 100, 4294967295) = 1

What I expect:
epoll_wait(15, {{EPOLLIN|EPOLLOUT|EPOLLRDHUP, {u32=3601723040,
u64=140376017858208}}}, 100, 4294967295) = 1
-- 2 --------------------------
Note, that last argument and "last but one" argument are SIGNED
integers. So in my example, last argument should be -1 (meaning
infinite timeout in epoll_wait)

-- 
Segmentation fault




More information about the Strace-devel mailing list