]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Get YFS ACLs and information through xattrs
authorDavid Howells <dhowells@redhat.com>
Tue, 30 Apr 2019 17:30:21 +0000 (18:30 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 7 May 2019 15:48:44 +0000 (16:48 +0100)
commitc38d02aafce8316dcfb4e2fb83231a76afb3239c
tree2ec257ba3ec3b10321c03ea6205879edabd28d9d
parent6186d8cafab8d0497b11714110453c8086a3760b
afs: Get YFS ACLs and information through xattrs

The YFS/AuriStor variant of AFS provides more capable ACLs and provides
per-volume ACLs and per-file ACLs as well as per-directory ACLs.  It also
provides some extra information that can be retrieved through four ACLs:

 (1) afs.yfs.acl

     The YFS file ACL (not the same format as afs.acl).

 (2) afs.yfs.vol_acl

     The YFS volume ACL.

 (3) afs.yfs.acl_inherited

     "1" if a file's ACL is inherited from its parent directory, "0"
     otherwise.

 (4) afs.yfs.acl_num_cleaned

     The number of of ACEs removed from the ACL by the server because the
     PT entries were removed from the PTS database (ie. the subject is no
     longer known).

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/internal.h
fs/afs/protocol_yfs.h
fs/afs/xattr.c
fs/afs/yfsclient.c