Page MenuHomeFreeBSD

Use long for the last argument to VOP_PATHCONF rather than a register_t.
ClosedPublic

Authored by jhb on Jan 16 2018, 7:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 1 2025, 2:53 AM
Unknown Object (File)
Nov 20 2025, 10:02 PM
Unknown Object (File)
Nov 20 2025, 10:00 PM
Unknown Object (File)
Nov 20 2025, 9:51 PM
Unknown Object (File)
Nov 15 2025, 9:32 PM
Unknown Object (File)
Nov 15 2025, 8:45 AM
Unknown Object (File)
Nov 15 2025, 8:11 AM
Unknown Object (File)
Nov 15 2025, 4:10 AM
Subscribers
None

Details

Reviewers
kib
Summary

pathconf(2) and fpathconf(2) both return a long. The kern_[f]pathconf()
functions now accept a pointer to a long value rather than modifying
td_retval directly. Instead, the system calls explicitly store the
returned long value in td_retval[0].

Requested by: bde

Test Plan
  • make tinderbox

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14416
Build 14568: arc lint + arc unit