epoll_wait displaying fixes

Марк Коренберг socketpair at gmail.com
Wed Oct 12 04:31:27 UTC 2011


12 октября 2011 г. 2:23 пользователь Dmitry V. Levin <ldv at altlinux.org> написал:
> 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.
I can not lookup in git now, did you add 0x2000? (instead of 0x200) ?


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



-- 
Segmentation fault




More information about the Strace-devel mailing list