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
F163635552: D51099.id.diff
Sat, Jul 25, 1:28 AM
Unknown Object (File)
Thu, Jul 23, 3:44 PM
Unknown Object (File)
Thu, Jul 23, 2:16 AM
Unknown Object (File)
Wed, Jul 22, 11:31 AM
Unknown Object (File)
Mon, Jul 20, 3:49 PM
Unknown Object (File)
Fri, Jul 17, 7:50 AM
Unknown Object (File)
Thu, Jul 16, 2:26 PM
Unknown Object (File)
Jun 8 2026, 9:06 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 Not Applicable
Unit
Tests Not Applicable