[Bug libc/21026] [MIPS] readahead syscall is broken on n64

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Thu Jan 5 14:06:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21026

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
sysdeps/unix/sysv/linux/wordsize-64 cannot be used for n64 because it 
implies struct stat = struct stat64, which is not the case for n64.

I suppose https://sourceware.org/ml/libc-alpha/2016-09/msg00527.html needs 
to be reviewed (with a careful check against the kernel ABI for all 
supported glibc configurations).  Unfortunately I don't see a way for the 
glibc testsuite to verify correctness here (by passing function arguments 
that would produce a different return from the syscall if the arguments 
are passed incorrectly).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list