From 2a734e9c266f5fd31db84153a61263b529167732 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 9 Jul 2009 15:00:25 -0700 Subject: [PATCH] Define ACE_ALL_PERMS for use by ACLs --- include/sys/acl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/sys/acl.h b/include/sys/acl.h index 042d9ca..61b5bdf 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 */ -- 2.40.0