2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2012-10-13 17:46:48 +08:00
|
|
|
/*
|
|
|
|
* File: linux/nfsacl.h
|
|
|
|
*
|
|
|
|
* (C) 2003 Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
*/
|
|
|
|
#ifndef _UAPI__LINUX_NFSACL_H
|
|
|
|
#define _UAPI__LINUX_NFSACL_H
|
|
|
|
|
|
|
|
#define NFS_ACL_PROGRAM 100227
|
|
|
|
|
2020-10-02 06:59:07 +08:00
|
|
|
#define ACLPROC2_NULL 0
|
2012-10-13 17:46:48 +08:00
|
|
|
#define ACLPROC2_GETACL 1
|
|
|
|
#define ACLPROC2_SETACL 2
|
|
|
|
#define ACLPROC2_GETATTR 3
|
|
|
|
#define ACLPROC2_ACCESS 4
|
|
|
|
|
2020-10-02 06:59:07 +08:00
|
|
|
#define ACLPROC3_NULL 0
|
2012-10-13 17:46:48 +08:00
|
|
|
#define ACLPROC3_GETACL 1
|
|
|
|
#define ACLPROC3_SETACL 2
|
|
|
|
|
|
|
|
|
|
|
|
/* Flags for the getacl/setacl mode */
|
|
|
|
#define NFS_ACL 0x0001
|
|
|
|
#define NFS_ACLCNT 0x0002
|
|
|
|
#define NFS_DFACL 0x0004
|
|
|
|
#define NFS_DFACLCNT 0x0008
|
2015-07-03 19:39:02 +08:00
|
|
|
#define NFS_ACL_MASK 0x000f
|
2012-10-13 17:46:48 +08:00
|
|
|
|
|
|
|
/* Flag for Default ACL entries */
|
|
|
|
#define NFS_ACL_DEFAULT 0x1000
|
|
|
|
|
|
|
|
#endif /* _UAPI__LINUX_NFSACL_H */
|