xattr and ACL support for Solaris 11 and OpenIndiana
#1.337 aberto em 14 de jul. de 2016
Métricas do repositório
- Stars
- (10.086 stars)
- Métricas de merge de PR
- (Mesclagem média 5d 12h) (91 fundiu PRs em 30d)
Description
xattrs: Solaris 11 and OpenIndiana have the same API (O_XATTR):
Note that xattr/fsattr in sunos5 is far more powerful than on the other platforms. On sunos5 they are essentially file system namespace attached to every file. You can put any file type in there (e.g. sockets, block devices, link) and have arbitrarily complex directory structures. So it may make sense to map these into normal items (NUL as separator? - other platforms would not extract) and traverse them. Or, we could flatten them and only regard regular files (i.e. key-value pairs).
ACLs: APIs are also similar to each other (and our already implemented APIs)