O_XATTR support in FreeBSD?
Tim Kientzle
tim at kientzle.com
Mon Nov 25 18:52:52 UTC 2013
On Nov 23, 2013, at 3:41 PM, Jordan Hubbard <jkh at mail.turbofuzz.com> wrote:
> I would start with libc and ask if it had anything similar to copyfile(3) …
But less broken, please.
Libarchive uses copyfile() to fetch/restore extended attribute bundles
on Mac OS, but it’s a pretty ugly API. In particular, there’s no way
to fetch/restore an EA bundle directly to/from memory; you must go
through an intermediate file on disk, which is slow and race-prone.
Tim
More information about the freebsd-hackers
mailing list