Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * File: linux/nfsacl.h
0004  *
0005  * (C) 2003 Andreas Gruenbacher <agruen@suse.de>
0006  */
0007 #ifndef _UAPI__LINUX_NFSACL_H
0008 #define _UAPI__LINUX_NFSACL_H
0009 
0010 #define NFS_ACL_PROGRAM 100227
0011 
0012 #define ACLPROC2_NULL       0
0013 #define ACLPROC2_GETACL     1
0014 #define ACLPROC2_SETACL     2
0015 #define ACLPROC2_GETATTR    3
0016 #define ACLPROC2_ACCESS     4
0017 
0018 #define ACLPROC3_NULL       0
0019 #define ACLPROC3_GETACL     1
0020 #define ACLPROC3_SETACL     2
0021 
0022 
0023 /* Flags for the getacl/setacl mode */
0024 #define NFS_ACL         0x0001
0025 #define NFS_ACLCNT      0x0002
0026 #define NFS_DFACL       0x0004
0027 #define NFS_DFACLCNT        0x0008
0028 #define NFS_ACL_MASK        0x000f
0029 
0030 /* Flag for Default ACL entries */
0031 #define NFS_ACL_DEFAULT     0x1000
0032 
0033 #endif /* _UAPI__LINUX_NFSACL_H */