summaryrefslogtreecommitdiffstats
path: root/fs/afs/afs_fs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-04-25 15:26:52 +0200
committerDavid Howells <dhowells@redhat.com>2019-05-07 17:48:44 +0200
commit260f082bae6dcf70aeae2cc3e24aecb55bdb1c99 (patch)
tree128a02382c0b98b01f8c1fce97347a41a2507e40 /fs/afs/afs_fs.h
parentafs: Fix getting the afs.fid xattr (diff)
downloadlinux-260f082bae6dcf70aeae2cc3e24aecb55bdb1c99.tar.xz
linux-260f082bae6dcf70aeae2cc3e24aecb55bdb1c99.zip
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>
Diffstat (limited to 'fs/afs/afs_fs.h')
-rw-r--r--fs/afs/afs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/afs_fs.h b/fs/afs/afs_fs.h
index ddfa88a7a9c0..4df1f1eec0ab 100644
--- a/fs/afs/afs_fs.h
+++ b/fs/afs/afs_fs.h
@@ -17,6 +17,7 @@
enum AFS_FS_Operations {
FSFETCHDATA = 130, /* AFS Fetch file data */
+ FSFETCHACL = 131, /* AFS Fetch file ACL */
FSFETCHSTATUS = 132, /* AFS Fetch file status */
FSSTOREDATA = 133, /* AFS Store file data */
FSSTORESTATUS = 135, /* AFS Store file status */