On Wed, Oct 10, 2012 at 11:05:54AM -0600, Eric Blake wrote:
> On 10/10/2012 07:23 AM, Richard W.M. Jones wrote:
> >
> > Fixing the other two kernel bugs, leaves me with two further
> > assertions. This time I'm not so sure that this is a kernel bug.
> >
> > /* The destination must be valid
On 10/10/2012 07:23 AM, Richard W.M. Jones wrote:
>
> Fixing the other two kernel bugs, leaves me with two further
> assertions. This time I'm not so sure that this is a kernel bug.
>
> /* The destination must be valid. */
> errno = 0;
> ASSERT (dup3 (fd, -2, o_flags) == -1);
Fixing the other two kernel bugs, leaves me with two further
assertions. This time I'm not so sure that this is a kernel bug.
/* The destination must be valid. */
errno = 0;
ASSERT (dup3 (fd, -2, o_flags) == -1);
ASSERT (errno == EBADF); <--- here