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
Unknown Object (File)
Wed, May 20, 12:34 AM
Unknown Object (File)
Thu, Apr 30, 6:58 AM
Unknown Object (File)
Apr 26 2026, 8:04 AM
Unknown Object (File)
Apr 23 2026, 10:38 AM
Unknown Object (File)
Apr 23 2026, 4:38 AM
Unknown Object (File)
Apr 22 2026, 11:01 PM
Unknown Object (File)
Apr 21 2026, 7:45 AM
Unknown Object (File)
Apr 20 2026, 2:05 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 Not Applicable
Unit
Tests Not Applicable