summaryrefslogtreecommitdiff
path: root/source3/modules/nfs4_acls.h
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-06-26 13:20:17 -0700
committerChristof Schmitt <cs@samba.org>2019-07-23 18:27:26 +0000
commit336e8668c1cc3682cb3c198eb6dc49baf522a79a (patch)
treeac4071dc1cc21f9856eab2dfaa7ab8cdc02200b8 /source3/modules/nfs4_acls.h
parent3b3d722ce579c19c7b08d06a3adea275537545dc (diff)
downloadsamba-336e8668c1cc3682cb3c198eb6dc49baf522a79a.tar.gz
nfs4_acls: Add helper function for checking INHERIT flags.
This avoids some code duplication. Do not make this static, as it will be used in a later patch. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032 Signed-off-by: Christof Schmit <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/nfs4_acls.h')
-rw-r--r--source3/modules/nfs4_acls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/nfs4_acls.h b/source3/modules/nfs4_acls.h
index a73b3154f0f..d0cf2d0f1fb 100644
--- a/source3/modules/nfs4_acls.h
+++ b/source3/modules/nfs4_acls.h
@@ -143,6 +143,8 @@ uint16_t smbacl4_get_controlflags(struct SMB4ACL_T *theacl);
bool smbacl4_set_controlflags(struct SMB4ACL_T *theacl, uint16_t controlflags);
+bool nfs_ace_is_inherit(SMB_ACE4PROP_T *ace);
+
NTSTATUS smb_fget_nt_acl_nfs4(files_struct *fsp,
const struct smbacl4_vfs_params *pparams,
uint32_t security_info,