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)
Wed, Jan 8, 9:23 PM
Unknown Object (File)
Thu, Jan 2, 12:10 AM
Unknown Object (File)
Wed, Jan 1, 11:38 PM
Unknown Object (File)
Sat, Dec 28, 9:28 PM
Unknown Object (File)
Sun, Dec 22, 8:47 PM
Unknown Object (File)
Dec 15 2024, 1:40 AM
Unknown Object (File)
Dec 13 2024, 1:29 PM
Unknown Object (File)
Nov 20 2024, 7:28 AM
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