See upstream bug, I've tracked this down now. The question remains:
- is gcc at fault for not padding struct dirent on 32bit compiles to 64bits?
- is the kernel at fault for padding reclen to 64bits regardless of struct size?
- is glibc at fault for not protecting callers from an overly large reclen from the kernel?
See upstream bug, I've tracked this down now. The question remains:
- is gcc at fault for not padding struct dirent on 32bit compiles to 64bits?
- is the kernel at fault for padding reclen to 64bits regardless of struct size?
- is glibc at fault for not protecting callers from an overly large reclen from the kernel?