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)
Mon, Nov 11, 5:32 AM
Unknown Object (File)
Oct 5 2024, 2:02 AM
Unknown Object (File)
Oct 4 2024, 4:14 AM
Unknown Object (File)
Oct 3 2024, 12:13 PM
Unknown Object (File)
Oct 3 2024, 11:25 AM
Unknown Object (File)
Oct 2 2024, 12:10 PM
Unknown Object (File)
Sep 27 2024, 7:31 PM
Unknown Object (File)
Sep 23 2024, 10:34 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable