Page MenuHomeFreeBSD

unistd.h: Add new Solaris compatible pathconf names
ClosedPublic

Authored by rmacklem on Jul 25 2025, 10:00 PM.
Tags
None
Referenced Files
F133354961: D51546.diff
Sat, Oct 25, 3:49 AM
Unknown Object (File)
Mon, Oct 13, 7:53 AM
Unknown Object (File)
Sun, Oct 12, 11:00 PM
Unknown Object (File)
Sun, Oct 12, 10:59 PM
Unknown Object (File)
Sun, Oct 12, 10:59 PM
Unknown Object (File)
Sun, Oct 12, 11:33 AM
Unknown Object (File)
Sep 18 2025, 5:09 AM
Unknown Object (File)
Sep 17 2025, 4:47 AM
Subscribers

Details

Summary

Solaris software can use _PC_XATTR_ENABLED and
_PC_XATTR_EXISTS, which are semantically the same
as _PC_NAMEDATTR_ENABLED and _PC_HAS_NAMEDATTR.

Add these pathconf names to unistd.h for Solaris compatibility.

Test Plan

Ran a test program with _PC_XATTR_ENABLED and
_PC_XATTR_EXISTS instead of _PC_NAMEDATTR_ENABLED
and _PC_HAS_NAMEDATTR and saw the same behaviour.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped