vfs: Implement a sys_acl_blob_get_{fd,file} for POSIX ACL backends
commitddcaac99f0262909be57eceac4535bd3684096b3
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Oct 2012 05:49:59 +0000 (10 16:49 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Oct 2012 01:25:11 +0000 (11 12:25 +1100)
tree552acc1d65e8316a3f0faf2ec779a7dbde6187ed
parent1f36ec129300e4f69efe26d4950fe3a7cfbfb233
vfs: Implement a sys_acl_blob_get_{fd,file} for POSIX ACL backends

This simply linearlises the SMB_ACL_T (default and access acl for
directories) and the file owner, group and mode into a blob.

It will be useful for an improved vfs_acl_common.c that uses this sets
that, rather than the hash of the NT ACL, in the xattr

This will in turn insulate the stored hash from changes in the ACL
mapping.

Andrew Bartlett
source3/Makefile.in
source3/smbd/posix_acls.c
source3/smbd/proto.h