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
F152429314: D51546.id159205.diff
Tue, Apr 14, 10:10 PM
Unknown Object (File)
Tue, Apr 14, 3:17 AM
Unknown Object (File)
Mon, Apr 13, 6:19 AM
Unknown Object (File)
Sun, Apr 12, 8:56 AM
Unknown Object (File)
Mon, Mar 30, 12:28 AM
Unknown Object (File)
Thu, Mar 26, 6:31 AM
Unknown Object (File)
Wed, Mar 25, 9:06 AM
Unknown Object (File)
Tue, Mar 24, 3:07 PM
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