epoll_ctl(EPOLL_CTL_DEL) parses event structure

Dmitry V. Levin ldv at altlinux.org
Thu Apr 17 14:59:39 UTC 2014


On Thu, Apr 17, 2014 at 04:50:13AM +0400, Dmitry V. Levin wrote:
> On Mon, Apr 14, 2014 at 08:28:52PM +0600, Марк Коренберг wrote:
> > epoll_ctl(EPOLL_CTL_DEL) parses event structure. It shuold not.
> 
> I agree. :)
> 
> > It will be nice if inthat case, strace print "NULL" or "NOT NULL" in this
> > argument. Real value under this pointer is not meaningful (just trash).
> 
> strace prints NULL when the address is null.
> I suppose strace should just print this address when it is non-null.

I've pushed a fix.


-- 
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/20140417/96ea9a47/attachment.bin>


More information about the Strace-devel mailing list