Re: RFC: Solaris style extended attributes for FreeBSD

Andrew Walker <[email protected]>
Newsgroups gmane.os.freebsd.architechture,gmane.os.freebsd.current
Message-ID <CAB5c7xoBn950onNid428C7jKkL+1vOfcFZJpbwCBgiiV3a0QNw@mail.gmail.com>
Out of curiosity, how are you preventing users from creating / writing
xattrs with the `system?` name prefix. In ZFS on FreeBSD IIRC this
prefix is used to determine whether the corresponding attribute when
accessed via the extattr interface is in the user or system
namespaces. I vaguely recall some people may have patched the FreeBSD
samba server for instance so that it writes security information
related into the system namespace when samba is configured as a domain
controller so some care needs to be taken with namespaces.

You may also need to potentially restrict ones with `security.` and
`trusted.` prefixes in case the ZFS data is replicated to Linux
systems (because those are privileged namespaces and it may introduce
a CVE).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.