logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

nfsacl.h (718B)


  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 __LINUX_NFSACL_H
  8. #define __LINUX_NFSACL_H
  9. #define NFS_ACL_PROGRAM 100227
  10. #define ACLPROC2_NULL 0
  11. #define ACLPROC2_GETACL 1
  12. #define ACLPROC2_SETACL 2
  13. #define ACLPROC2_GETATTR 3
  14. #define ACLPROC2_ACCESS 4
  15. #define ACLPROC3_NULL 0
  16. #define ACLPROC3_GETACL 1
  17. #define ACLPROC3_SETACL 2
  18. /* Flags for the getacl/setacl mode */
  19. #define NFS_ACL 0x0001
  20. #define NFS_ACLCNT 0x0002
  21. #define NFS_DFACL 0x0004
  22. #define NFS_DFACLCNT 0x0008
  23. #define NFS_ACL_MASK 0x000f
  24. /* Flag for Default ACL entries */
  25. #define NFS_ACL_DEFAULT 0x1000
  26. #endif /* __LINUX_NFSACL_H */