summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-09-28 07:53:48 +0200
committerJeremy Allison <jra@samba.org>2017-11-08 00:20:07 +0100
commit33c0b0df01e21c9e031bfe79986e1cfdb993ef6f (patch)
tree6c6fbfff9d83d9af3e4497a8bd263541604dae23 /source3/smbd/proto.h
parentc373102f35a6fd6d474e419631e1718cdda4ce3a (diff)
downloadsamba-33c0b0df01e21c9e031bfe79986e1cfdb993ef6f.tar.gz
s3/smbd: make make_default_filesystem_acl public
This will be used by another VFS module in a subsequent commit. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index a688341c64d..2e40711df41 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -806,6 +806,17 @@ int posix_sys_acl_blob_get_fd(vfs_handle_struct *handle,
char **blob_description,
DATA_BLOB *blob);
+enum default_acl_style {DEFAULT_ACL_POSIX, DEFAULT_ACL_WINDOWS};
+
+const struct enum_list *get_default_acl_style_list(void);
+
+NTSTATUS make_default_filesystem_acl(
+ TALLOC_CTX *ctx,
+ enum default_acl_style acl_style,
+ const char *name,
+ SMB_STRUCT_STAT *psbuf,
+ struct security_descriptor **ppdesc);
+
/* The following definitions come from smbd/process.c */
void smbd_setup_sig_term_handler(struct smbd_server_connection *sconn);