Content deleted Content added
Guy Harris (talk | contribs) →Linux: Citation needed on the claim that POSIX.1e imposes any requirements on extended attribute names; the copies I have of draft 17 don't mention extended attributes *at all*. |
Guy Harris (talk | contribs) →Linux: And again. Was there an earlier draft that mentioned extended attributes, was there *another* POSIX draft that was withdrawn and that proposed extended attribute support, or is this just folklore? |
||
Line 54:
| accessdate=2017-07-11}}</ref> filesystems support extended attributes (abbreviated ''xattr'') when enabled in the kernel configuration. Any regular file or directory may have extended attributes consisting of a name and associated data. The name must be a [[null-terminated string]] prefixed by a [[namespace]] identifier and a dot character. Currently, four namespaces exist: user, trusted, security and system. The user namespace has no restrictions with regard to naming or contents. The system namespace is primarily used by the kernel for [[access control list]]s. The security namespace is used by [[SELinux]], for example.
Support for the extended attribute concept from a POSIX.1e draft{{cn}} that had been withdrawn in 1997 was added to Linux around 2002.<ref>{{cite web
| title=v2.5.3 git commit log
| url=https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/include/?id=1ea864f1c53bc771294e61cf9be43b1d22e78f4c
|