epoll_wait displaying fixes

Dmitry V. Levin ldv at altlinux.org
Tue Oct 11 20:23:37 UTC 2011


Hi,

On Mon, Oct 10, 2011 at 11:00:49AM +0600, Марк Коренберг wrote:
> -- 1 --------------------------
> Please add displaying EPOLLRDHUP to epoll_wait instead of 0x200
> 
> current vesion (4.5.20-2ubuntu2)

Why don't they update to 4.6?  It was released more than 6 months ago.

> 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

I've just pushed commit v4.6-146-g5967c1a that implements EPOLLRDHUP
decoding.

> -- 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)

I've just pushed a fix (commit v4.6-147-gc327d71).

Thanks for reporting.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20111012/0f87f248/attachment.bin>


More information about the Strace-devel mailing list