Page MenuHomeFreeBSD

Fix getdirentries(2) under 32-bit compat.
ClosedPublic

Authored by brooks on Feb 14 2018, 11:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 2, 5:29 PM
Unknown Object (File)
Sat, Sep 27, 11:31 AM
Unknown Object (File)
Mon, Sep 22, 2:30 PM
Unknown Object (File)
Sun, Sep 21, 9:20 PM
Unknown Object (File)
Sun, Sep 21, 9:10 PM
Unknown Object (File)
Sun, Sep 21, 6:22 PM
Unknown Object (File)
Aug 8 2025, 5:33 AM
Unknown Object (File)
Jul 24 2025, 12:24 PM
Subscribers

Details

Summary

The latest version of getdirentries (syscall 554) takes a pointer
an an off_t as the last argument. The old version which copies out
an int32_t was being used instead. Use the standard sys_getdirentries()
implementation instead.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Please do not put the diffs for generated files neither in review nor in the main commit.

This revision is now accepted and ready to land.Feb 15 2018, 11:30 AM
This revision was automatically updated to reflect the committed changes.