strace: epoll_ctl

Philippe Ombredanne pombredanne at nexb.com
Sat Apr 5 20:14:46 UTC 2014


> On Sat, Apr 5, 2014 at 6:58 AM, Марк Коренберг <socketpair at gmail.com> wrote:
>> The fd argument of epoll_ctl should be signed integer. it seems that
>> strace decodes it as unsigned.
> On Sat, Apr 5, 2014 at 11:30 AM, enh <enh at google.com> wrote:
> this has already been fixed. given...
>     epoll_ctl(-1, 0, -1, NULL);
>
> ubuntu 12.04's strace 4.5:
> epoll_ctl(4294967295, 0 /* EPOLL_CTL_??? */, 4294967295, NULL) = -1
> EFAULT (Bad address)
>
> ToT strace:
> epoll_ctl(-1, 0 /* EPOLL_CTL_??? */, -1, NULL) = -1 EFAULT (Bad address)

I am cc'ing Frederik Schüler -- the Debian maintainer for strace -- so
he can be aware of this (He might be already)
... The version available in Debian and derivatives is really way too old IMHO

-- 
Philippe Ombredanne




More information about the Strace-devel mailing list