From b172eb1d478aef1f1e6c8ea40486fe9895b0f9de Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 17 Jun 2008 23:58:49 +0200 Subject: file_access: remove unneeded stat buf parameter from can_access_file_acl(). This is a security descriptor level function only. Michael (This used to be commit 5931540fa1681f026fed42df387d17e43c493c47) --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index de40ff6912..70eaf325be 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -9641,7 +9641,7 @@ NTSTATUS close_fake_file(files_struct *fsp); /* The following definitions come from smbd/file_access.c */ bool can_access_file_acl(struct connection_struct *conn, - const char * fname, SMB_STRUCT_STAT *psbuf, + const char * fname, uint32_t access_mask); bool can_delete_file_in_directory(connection_struct *conn, const char *fname); bool can_access_file_data(connection_struct *conn, const char *fname, SMB_STRUCT_STAT *psbuf, uint32 access_mask); -- cgit