strace: epoll_ctl

enh enh at google.com
Sat Apr 5 18:30:04 UTC 2014


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)

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.
>
> --
> Segmentation fault
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Java i18n/JNI/NIO, or bionic questions? Mail me/drop by/add me as a reviewer.




More information about the Strace-devel mailing list