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)
Tue, Oct 14, 10:29 PM
Unknown Object (File)
Tue, Oct 14, 1:26 PM
Unknown Object (File)
Tue, Oct 14, 1:26 PM
Unknown Object (File)
Mon, Oct 13, 11:37 PM
Unknown Object (File)
Wed, Oct 8, 1:31 AM
Unknown Object (File)
Tue, Oct 7, 7:09 AM
Unknown Object (File)
Mon, Sep 29, 1:03 PM
Unknown Object (File)
Sep 13 2025, 2:03 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