Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | /* |
| 2 | * File: linux/nfsacl.h |
| 3 | * |
| 4 | * (C) 2003 Andreas Gruenbacher <agruen@suse.de> |
| 5 | */ |
| 6 | #ifndef _UAPI__LINUX_NFSACL_H |
| 7 | #define _UAPI__LINUX_NFSACL_H |
| 8 | |
| 9 | #define NFS_ACL_PROGRAM 100227 |
| 10 | |
| 11 | #define ACLPROC2_GETACL 1 |
| 12 | #define ACLPROC2_SETACL 2 |
| 13 | #define ACLPROC2_GETATTR 3 |
| 14 | #define ACLPROC2_ACCESS 4 |
| 15 | |
| 16 | #define ACLPROC3_GETACL 1 |
| 17 | #define ACLPROC3_SETACL 2 |
| 18 | |
| 19 | |
| 20 | /* Flags for the getacl/setacl mode */ |
| 21 | #define NFS_ACL 0x0001 |
| 22 | #define NFS_ACLCNT 0x0002 |
| 23 | #define NFS_DFACL 0x0004 |
| 24 | #define NFS_DFACLCNT 0x0008 |
| 25 | #define NFS_ACL_MASK 0x000f |
| 26 | |
| 27 | /* Flag for Default ACL entries */ |
| 28 | #define NFS_ACL_DEFAULT 0x1000 |
| 29 | |
| 30 | #endif /* _UAPI__LINUX_NFSACL_H */ |