[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-dup3.c:108: assertion failed (was: Re: test-cloexec.c:97: asser

From: Richard W.M. Jones
Subject: Re: test-dup3.c:108: assertion failed (was: Re: test-cloexec.c:97: assertion failed)
Date: Tue, 9 Oct 2012 10:05:42 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Tue, Oct 09, 2012 at 09:54:45AM +0100, Richard W.M. Jones wrote:
> The F_DUPFD_CLOEXEC fix that Al Viro posted fixes 3/4 of the
> bugs, but I'm still investigating this one:
> > test-dup3.c:108: assertion failed
> > #      ASSERT (dup3 (fd, fd, o_flags) == -1);

Thanks to Jim for pointing out this is a kernel bug, because the
proposed standard for dup3 specifies that fd1 != fd2 else error:



Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]