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:

http://austingroupbugs.net/view.php?id=411

Rich.

-- 
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.
http://et.redhat.com/~rjones/virt-top

Reply via email to