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)
Jan 6 2025, 10:46 AM
Unknown Object (File)
Dec 3 2024, 7:19 PM
Unknown Object (File)
Nov 28 2024, 6:53 AM
Unknown Object (File)
Nov 27 2024, 6:44 AM
Unknown Object (File)
Nov 24 2024, 9:39 PM
Unknown Object (File)
Nov 23 2024, 12:39 AM
Unknown Object (File)
Nov 22 2024, 9:11 AM
Unknown Object (File)
Nov 17 2024, 9:30 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.