diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-04-22 17:59:24 -0400 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2015-06-01 10:25:37 -0400 |
| commit | e2b836cfb45d27a5efc5b1b65fe2442c53137d9c (patch) | |
| tree | 4e485b72c0e2eab5056cae68322e8b45c11ffb2b /include/uapi/linux | |
| parent | 2f6b3879c24de3404e21be8b76097353caf3bcbd (diff) | |
uapi/nfs: Add NFSv4.1 ACL definitions
Add the ACL related protocol definitions which were added in the NFSv4.1
specification.
(But we're not using them yet.)
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nfs4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index adc0aff83fbb..2119c7c274d7 100644 --- a/include/uapi/linux/nfs4.h +++ b/include/uapi/linux/nfs4.h | |||
| @@ -86,6 +86,10 @@ | |||
| 86 | #define ACL4_SUPPORT_AUDIT_ACL 0x04 | 86 | #define ACL4_SUPPORT_AUDIT_ACL 0x04 |
| 87 | #define ACL4_SUPPORT_ALARM_ACL 0x08 | 87 | #define ACL4_SUPPORT_ALARM_ACL 0x08 |
| 88 | 88 | ||
| 89 | #define NFS4_ACL_AUTO_INHERIT 0x00000001 | ||
| 90 | #define NFS4_ACL_PROTECTED 0x00000002 | ||
| 91 | #define NFS4_ACL_DEFAULTED 0x00000004 | ||
| 92 | |||
| 89 | #define NFS4_ACE_FILE_INHERIT_ACE 0x00000001 | 93 | #define NFS4_ACE_FILE_INHERIT_ACE 0x00000001 |
| 90 | #define NFS4_ACE_DIRECTORY_INHERIT_ACE 0x00000002 | 94 | #define NFS4_ACE_DIRECTORY_INHERIT_ACE 0x00000002 |
| 91 | #define NFS4_ACE_NO_PROPAGATE_INHERIT_ACE 0x00000004 | 95 | #define NFS4_ACE_NO_PROPAGATE_INHERIT_ACE 0x00000004 |
| @@ -93,6 +97,7 @@ | |||
| 93 | #define NFS4_ACE_SUCCESSFUL_ACCESS_ACE_FLAG 0x00000010 | 97 | #define NFS4_ACE_SUCCESSFUL_ACCESS_ACE_FLAG 0x00000010 |
| 94 | #define NFS4_ACE_FAILED_ACCESS_ACE_FLAG 0x00000020 | 98 | #define NFS4_ACE_FAILED_ACCESS_ACE_FLAG 0x00000020 |
| 95 | #define NFS4_ACE_IDENTIFIER_GROUP 0x00000040 | 99 | #define NFS4_ACE_IDENTIFIER_GROUP 0x00000040 |
| 100 | #define NFS4_ACE_INHERITED_ACE 0x00000080 | ||
| 96 | 101 | ||
| 97 | #define NFS4_ACE_READ_DATA 0x00000001 | 102 | #define NFS4_ACE_READ_DATA 0x00000001 |
| 98 | #define NFS4_ACE_LIST_DIRECTORY 0x00000001 | 103 | #define NFS4_ACE_LIST_DIRECTORY 0x00000001 |
| @@ -106,6 +111,8 @@ | |||
| 106 | #define NFS4_ACE_DELETE_CHILD 0x00000040 | 111 | #define NFS4_ACE_DELETE_CHILD 0x00000040 |
| 107 | #define NFS4_ACE_READ_ATTRIBUTES 0x00000080 | 112 | #define NFS4_ACE_READ_ATTRIBUTES 0x00000080 |
| 108 | #define NFS4_ACE_WRITE_ATTRIBUTES 0x00000100 | 113 | #define NFS4_ACE_WRITE_ATTRIBUTES 0x00000100 |
| 114 | #define NFS4_ACE_WRITE_RETENTION 0x00000200 | ||
| 115 | #define NFS4_ACE_WRITE_RETENTION_HOLD 0x00000400 | ||
| 109 | #define NFS4_ACE_DELETE 0x00010000 | 116 | #define NFS4_ACE_DELETE 0x00010000 |
| 110 | #define NFS4_ACE_READ_ACL 0x00020000 | 117 | #define NFS4_ACE_READ_ACL 0x00020000 |
| 111 | #define NFS4_ACE_WRITE_ACL 0x00040000 | 118 | #define NFS4_ACE_WRITE_ACL 0x00040000 |
