This is the mail archive of the glibc-bugs@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]

[Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user


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

--- Comment #22 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
As d_off is an opaque value, can't __getdents just truncate without 
producing an EOVERFLOW error?  As __getdents is a purely internal 
function, its interface could be changed to return a truncation indication 
or indeed to provide the full d_off value somehow - such truncation 
indication only being relevant if telldir is used (which has a return type 
of long int and no corresponding LFS version).  Though if you want telldir 
/ seekdir to work in this case, maybe you do need to get the properly 
truncated value from the kernel (and also to add LFS versions of telldir / 
seekdir that work with directories too large for long on 32-bit systems).

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

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