idl: Provide a common wrapper for the data to hash for a non-POSIX ACL
authorAndrew Bartlett <abartlet@samba.org>
Wed, 24 Oct 2012 06:06:33 +0000 (17:06 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 4 Feb 2013 11:19:30 +0000 (12:19 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
librpc/idl/xattr.idl

index f7e698429ba647cc4c5cb5bd2bd6966b05ffee10..b4c1b98b21fbdaec2fbd61f0b71eafe529861fc4 100644 (file)
@@ -207,4 +207,16 @@ interface xattr
                uint16 version;
                [switch_is(version)] xattr_NTACL_Info info;
        } xattr_NTACL;
+
+       /*
+        * A wrapper of the common information required to be in the
+        * hash of the ACL, for the acl_xattr and acl_tdb modules.
+        */
+       [public] typedef struct {
+               DATA_BLOB acl_as_blob;
+               uid_t owner;
+               gid_t group;
+               mode_t mode;
+       } xattr_sys_acl_hash_wrapper;
+
 }