summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-31 12:37:39 -0700
committerJeremy Allison <jra@samba.org>2011-11-01 16:38:14 -0700
commita11c0a41a35aa2b1c14333552045a65e3e50df1e (patch)
tree767a3ee191241770e2fcf229c41f50e40bb7bb99 /source3/smbd/proto.h
parentf5fde21ec15c7086311ed297601471b75f03c917 (diff)
downloadsamba-a11c0a41a35aa2b1c14333552045a65e3e50df1e.tar.gz
samba-a11c0a41a35aa2b1c14333552045a65e3e50df1e.tar.bz2
samba-a11c0a41a35aa2b1c14333552045a65e3e50df1e.zip
Change function signature of check_parent_access() to take char * instead of struct smb_filename.
Expose it so it can be called from directory code.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 343b0b916e..351fc4992b 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -585,6 +585,10 @@ NTSTATUS smb1_file_se_access_check(connection_struct *conn,
const struct security_token *token,
uint32_t access_desired,
uint32_t *access_granted);
+NTSTATUS check_parent_access(struct connection_struct *conn,
+ const char *path,
+ uint32_t access_mask,
+ char **pp_parent_dir);
NTSTATUS fd_close(files_struct *fsp);
void change_file_owner_to_parent(connection_struct *conn,
const char *inherit_from_dir,