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
F144388152: D51546.id159205.diff
Sun, Feb 8, 4:38 AM
Unknown Object (File)
Sat, Feb 7, 4:38 PM
Unknown Object (File)
Sat, Jan 31, 8:39 AM
Unknown Object (File)
Dec 19 2025, 7:14 PM
Unknown Object (File)
Dec 14 2025, 12:18 AM
Unknown Object (File)
Dec 4 2025, 2:15 AM
Unknown Object (File)
Nov 27 2025, 10:19 PM
Unknown Object (File)
Nov 23 2025, 9:09 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