Page MenuHomeFreeBSD

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

Authored by dchagin on Aug 16 2021, 8:06 AM.

Details

Reviewers
None
Group Reviewers
Linux Emulation
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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 41056
Build 37945: arc lint + arc unit