st_dev and st_rdev are longs on powerpc64, but l_dev_t is 32-bit.
Everything after st_gid was off by 4 bytes and glibc read st_blksize as
the file size. statfs64 has the same problem with its word-sized fields.
Details
Details
- Reviewers
jhibbits - Group Reviewers
PowerPC - Commits
- rGe23a5c12d0e8: linuxulator/powerpc: fix the layout of struct stat and statfs64
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 80125 Build 77008: arc lint + arc unit