Page MenuHomeFreeBSD

linux(4): Fixup miscalculation of d_off of struct dirent in getdents() syscalls.
ClosedPublic

Authored by dchagin on Aug 16 2021, 8:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 20, 6:17 AM
Unknown Object (File)
Sat, Dec 6, 7:40 AM
Unknown Object (File)
Nov 28 2025, 5:10 AM
Unknown Object (File)
Nov 24 2025, 4:44 PM
Unknown Object (File)
Nov 24 2025, 4:43 PM
Unknown Object (File)
Nov 24 2025, 4:43 PM
Unknown Object (File)
Nov 24 2025, 4:43 PM
Unknown Object (File)
Nov 24 2025, 4:42 PM
Subscribers

Details

Summary

Avoid calculating d_off value as it is specific to the underlying filesystem
and can be used by others API, like lseek(), seekdir() as input offset.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41054
Build 37943: arc lint + arc unit