summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-11-04 13:11:01 -0700
committerJeremy Allison <jra@samba.org>2011-11-04 14:16:37 -0700
commit07edf6c65e514064f15ef0b31b5a98250568a505 (patch)
tree7f254778353642a7ba6c09e05c8adb15394eab25 /source3
parent1fab17de94a38294918e9eab7d6f85b94d6db421 (diff)
downloadsamba-07edf6c65e514064f15ef0b31b5a98250568a505.tar.gz
samba-07edf6c65e514064f15ef0b31b5a98250568a505.tar.bz2
samba-07edf6c65e514064f15ef0b31b5a98250568a505.zip
smb1_file_se_access_check() is now static to smbd/open.c
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/proto.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 42edddcaf9..c26a3379cb 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -41,7 +41,7 @@ struct deferred_open_record {
SMB1 file varient of se_access_check. Never test FILE_READ_ATTRIBUTES.
****************************************************************************/
-NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
+static NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
const struct security_descriptor *sd,
const struct security_token *token,
uint32_t access_desired,
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 343b0b916e..f6d543972f 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -580,11 +580,6 @@ void reply_nttranss(struct smb_request *req);
/* The following definitions come from smbd/open.c */
-NTSTATUS smb1_file_se_access_check(connection_struct *conn,
- const struct security_descriptor *sd,
- const struct security_token *token,
- uint32_t access_desired,
- uint32_t *access_granted);
NTSTATUS fd_close(files_struct *fsp);
void change_file_owner_to_parent(connection_struct *conn,
const char *inherit_from_dir,