aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-07-09 15:00:25 -0700
committerBrian Behlendorf <[email protected]>2009-07-09 15:00:25 -0700
commit2a734e9c266f5fd31db84153a61263b529167732 (patch)
treeb1ee0c8e2fc8f596000edfde25ab8847ba2e406a /include
parentc18cbcfe66880f17408ad252e77947669e12975a (diff)
Define ACE_ALL_PERMS for use by ACLs
Diffstat (limited to 'include')
-rw-r--r--include/sys/acl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/acl.h b/include/sys/acl.h
index 042d9ca75..61b5bdf07 100644
--- a/include/sys/acl.h
+++ b/include/sys/acl.h
@@ -77,4 +77,10 @@ typedef struct ace_object {
#define ACE_TYPE_FLAGS (ACE_OWNER|ACE_GROUP|ACE_EVERYONE|ACE_IDENTIFIER_GROUP)
+#define ACE_ALL_PERMS (ACE_READ_DATA|ACE_LIST_DIRECTORY|ACE_WRITE_DATA| \
+ ACE_ADD_FILE|ACE_APPEND_DATA|ACE_ADD_SUBDIRECTORY|ACE_READ_NAMED_ATTRS| \
+ ACE_WRITE_NAMED_ATTRS|ACE_EXECUTE|ACE_DELETE_CHILD|ACE_READ_ATTRIBUTES| \
+ ACE_WRITE_ATTRIBUTES|ACE_DELETE|ACE_READ_ACL|ACE_WRITE_ACL| \
+ ACE_WRITE_OWNER|ACE_SYNCHRONIZE)
+
#endif /* _SPL_ACL_H */