From 07edf6c65e514064f15ef0b31b5a98250568a505 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Nov 2011 13:11:01 -0700 Subject: [PATCH] smb1_file_se_access_check() is now static to smbd/open.c --- source3/smbd/open.c | 2 +- source3/smbd/proto.h | 5 ----- 2 files changed, 1 insertion(+), 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, -- 2.34.1