1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
2 | /* |
3 | * File: linux/nfsacl.h |
4 | * |
5 | * (C) 2003 Andreas Gruenbacher <agruen@suse.de> |
6 | */ |
7 | #ifndef _UAPI__LINUX_NFSACL_H |
8 | #define _UAPI__LINUX_NFSACL_H |
9 | |
10 | #define NFS_ACL_PROGRAM 100227 |
11 | |
12 | #define ACLPROC2_NULL 0 |
13 | #define ACLPROC2_GETACL 1 |
14 | #define ACLPROC2_SETACL 2 |
15 | #define ACLPROC2_GETATTR 3 |
16 | #define ACLPROC2_ACCESS 4 |
17 | |
18 | #define ACLPROC3_NULL 0 |
19 | #define ACLPROC3_GETACL 1 |
20 | #define ACLPROC3_SETACL 2 |
21 | |
22 | |
23 | /* Flags for the getacl/setacl mode */ |
24 | #define NFS_ACL 0x0001 |
25 | #define NFS_ACLCNT 0x0002 |
26 | #define NFS_DFACL 0x0004 |
27 | #define NFS_DFACLCNT 0x0008 |
28 | #define NFS_ACL_MASK 0x000f |
29 | |
30 | /* Flag for Default ACL entries */ |
31 | #define NFS_ACL_DEFAULT 0x1000 |
32 | |
33 | #endif /* _UAPI__LINUX_NFSACL_H */ |
34 | |