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>
Showing
- fs/afs/afs_fs.h 1 addition, 0 deletionsfs/afs/afs_fs.h
- fs/afs/fsclient.c 122 additions, 0 deletionsfs/afs/fsclient.c
- fs/afs/internal.h 7 additions, 0 deletionsfs/afs/internal.h
- fs/afs/xattr.c 53 additions, 0 deletionsfs/afs/xattr.c
- include/trace/events/afs.h 1 addition, 0 deletionsinclude/trace/events/afs.h
Loading
Please register or sign in to comment