mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
nfs4acl_xattr: add RFC compliant NFS 4.0 and 4.1 ACL defintions
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ba1fe6d11a
commit
068721f477
@ -70,6 +70,14 @@ const ACE4_SYNCHRONIZE = 0x00100000;
|
||||
|
||||
typedef u_int acemask4;
|
||||
|
||||
/* ACL structure definition as per RFC 7530 Section-6.2.1 */
|
||||
struct nfsace4 {
|
||||
acetype4 type;
|
||||
aceflag4 flag;
|
||||
acemask4 access_mask;
|
||||
utf8str_mixed who;
|
||||
};
|
||||
|
||||
struct nfsace4i {
|
||||
acetype4 type;
|
||||
aceflag4 flag;
|
||||
@ -88,6 +96,15 @@ const ACL4_DEFAULTED = 0x00000004;
|
||||
|
||||
typedef u_int aclflag4;
|
||||
|
||||
struct nfsacl40 {
|
||||
nfsace4 na40_aces<>;
|
||||
};
|
||||
|
||||
struct nfsacl41 {
|
||||
aclflag4 na41_flag;
|
||||
nfsace4 na41_aces<>;
|
||||
};
|
||||
|
||||
struct nfsacl41i {
|
||||
aclflag4 na41_flag;
|
||||
nfsace4i na41_aces<>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user