]> granicus.if.org Git - spl/commitdiff
Define ACE_ALL_PERMS for use by ACLs
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 22:00:25 +0000 (15:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 22:00:25 +0000 (15:00 -0700)
include/sys/acl.h

index 042d9ca75c07c307237029f05a9c635766df6903..61b5bdf076f7a0a9d6e1fe3cc3d59acc0390320f 100644 (file)
@@ -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 */