summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-17 23:58:49 +0200
committerMichael Adam <obnox@samba.org>2008-06-17 23:58:49 +0200
commitb172eb1d478aef1f1e6c8ea40486fe9895b0f9de (patch)
tree7f9f7597b961b65b87861fa755087530e76a2030 /source3/include/proto.h
parent92c983292e3dda06952ef6a01d3f2a23f1c323ec (diff)
downloadsamba-b172eb1d478aef1f1e6c8ea40486fe9895b0f9de.tar.gz
samba-b172eb1d478aef1f1e6c8ea40486fe9895b0f9de.tar.bz2
samba-b172eb1d478aef1f1e6c8ea40486fe9895b0f9de.zip
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)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
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);