Page MenuHomeFreeBSD

fcntl.h: Add O_XATTR for Solaris compatibility
ClosedPublic

Authored by rmacklem on Jul 1 2025, 2:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 14, 2:42 PM
Unknown Object (File)
Tue, Aug 12, 8:46 PM
Unknown Object (File)
Tue, Aug 12, 8:05 PM
Unknown Object (File)
Sun, Aug 3, 2:34 AM
Unknown Object (File)
Mon, Jul 28, 1:32 AM
Unknown Object (File)
Jul 20 2025, 5:14 AM
Unknown Object (File)
Jul 9 2025, 7:11 AM
Unknown Object (File)
Jul 8 2025, 7:27 AM
Subscribers

Details

Summary

Commit 2ec2ba7e231d added O_NAMEDATTR for support
of the Solaris style extended attribute mechanism.

This patch adds O_XATTR as a synonym so that
software that has Solaris extended attribute support
can be built easily.

Test Plan

Built bash in ports and saw that the "cd -@ <file>"
syntax worked without having to make any changes
to the port.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped