From e650a5fd61d7925888e3abf0a561af5a9a23f00b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 24 Oct 2012 17:06:33 +1100 Subject: idl: Provide a common wrapper for the data to hash for a non-POSIX ACL Signed-off-by: Andrew Bartlett Reviewed-by: Christian Ambach --- librpc/idl/xattr.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'librpc') 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; + } -- cgit