nfsacl.h 605 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * File: linux/nfsacl.h
  3. *
  4. * (C) 2003 Andreas Gruenbacher <agruen@suse.de>
  5. */
  6. #ifndef __LINUX_NFSACL_H
  7. #define __LINUX_NFSACL_H
  8. #define NFS_ACL_PROGRAM 100227
  9. #define ACLPROC2_GETACL 1
  10. #define ACLPROC2_SETACL 2
  11. #define ACLPROC2_GETATTR 3
  12. #define ACLPROC2_ACCESS 4
  13. #define ACLPROC3_GETACL 1
  14. #define ACLPROC3_SETACL 2
  15. /* Flags for the getacl/setacl mode */
  16. #define NFS_ACL 0x0001
  17. #define NFS_ACLCNT 0x0002
  18. #define NFS_DFACL 0x0004
  19. #define NFS_DFACLCNT 0x0008
  20. #define NFS_ACL_MASK 0x000f
  21. /* Flag for Default ACL entries */
  22. #define NFS_ACL_DEFAULT 0x1000
  23. #endif /* __LINUX_NFSACL_H */