This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] posix: Add invalid flags test for p{write,read}v2


On Fri, Jun 16, 2017 at 12:09:40PM -0300, Adhemerval Zanella wrote:
> This patch add an extra test for passing invalid flags and check its
> expected failure.  It shows an invalid LO_HI_LONG macro definition for
> x86_64 with leads to passing invalid flags on some configurations.
> 
> The new tests fails on i686-linux-gnu and potentially on other 32 bits
> architecture that uses the compat syscall definition due a kernel bug.
> It is intended to be fixed upstream.  I have added a comment for it and
> I think disabling this is not the correct approach since if the syscall
> is ignoring the flag it defeats the whole purpose of the syscall.  The
> failure indicates the kernel requires an update.

Linus just merged the fix for that issue, so Linux 4.12 should be.
It will also go into the stable trees.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]