afs: Get an AFS3 ACL as an xattr
authorDavid Howells <dhowells@redhat.com>
Thu, 25 Apr 2019 13:26:52 +0000 (14:26 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 7 May 2019 15:48:44 +0000 (16:48 +0100)
commit260f082bae6dcf70aeae2cc3e24aecb55bdb1c99
tree128a02382c0b98b01f8c1fce97347a41a2507e40
parenta2f611a3dc317d8ea1c98ad6c54b911cf7f93193
afs: Get an AFS3 ACL as an xattr

Implement an xattr on AFS files called "afs.acl" that retrieves a file's
ACL.  It returns the raw AFS3 ACL from the result of calling FS.FetchACL,
leaving any interpretation to userspace.

Note that whilst YFS servers will respond to FS.FetchACL, this will render
a more-advanced YFS ACL down.  Use "afs.yfs.acl" instead for that.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/afs_fs.h
fs/afs/fsclient.c
fs/afs/internal.h
fs/afs/xattr.c
include/trace/events/afs.h