summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-24 17:06:33 +1100
committerAndrew Bartlett <abartlet@samba.org>2013-02-04 12:19:30 +0100
commite650a5fd61d7925888e3abf0a561af5a9a23f00b (patch)
tree25033e1232710a1a45d4d0d43a5410eeb09cdcba /librpc
parenta133a989c319bfba18ea8b204716d8e362e28f80 (diff)
downloadsamba-e650a5fd61d7925888e3abf0a561af5a9a23f00b.tar.gz
samba-e650a5fd61d7925888e3abf0a561af5a9a23f00b.tar.bz2
samba-e650a5fd61d7925888e3abf0a561af5a9a23f00b.zip
idl: Provide a common wrapper for the data to hash for a non-POSIX ACL
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/xattr.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/librpc/idl/xattr.idl b/librpc/idl/xattr.idl
index f7e698429b..b4c1b98b21 100644
--- a/librpc/idl/xattr.idl
+++ b/librpc/idl/xattr.idl
@@ -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;
+
}