[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:
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
- test-cloexec.c:97: assertion failed, Richard W.M. Jones, 2012/10/08
- Re: test-cloexec.c:97: assertion failed, Richard W.M. Jones, 2012/10/08
- Re: test-cloexec.c:97: assertion failed, Jim Meyering, 2012/10/08
- Re: test-cloexec.c:97: assertion failed, Richard W.M. Jones, 2012/10/08
- Re: test-cloexec.c:97: assertion failed, Richard W.M. Jones, 2012/10/08
- Re: test-cloexec.c:97: assertion failed, Eric Blake, 2012/10/08
- [regression] F_DUPFD_CLOEXEC breakage fix, Al Viro, 2012/10/08
- Re: [regression] F_DUPFD_CLOEXEC breakage fix, Richard W.M. Jones, 2012/10/09
test-dup3.c:108: assertion failed (was: Re: test-cloexec.c:97: assertion failed), Richard W.M. Jones, 2012/10/09