summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-04-15 12:21:39 -0700
committerJeremy Allison <jra@samba.org>2011-04-15 12:21:39 -0700
commit525ccd589ede79e97e83699629a1d98538855803 (patch)
tree45c17974eceda805e7a5ec26b20a40dc46535bc1 /source3/smbd/proto.h
parente4c4dcf102f61bf967b16c792ae15a90e9c27320 (diff)
downloadsamba-525ccd589ede79e97e83699629a1d98538855803.tar.gz
samba-525ccd589ede79e97e83699629a1d98538855803.tar.bz2
samba-525ccd589ede79e97e83699629a1d98538855803.zip
Ensure vfs_chown_fsp() is safe against races.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index c097202676..36eea5e16e 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -567,6 +567,8 @@ void remove_deferred_open_entry(struct file_id id, uint64_t mid,
NTSTATUS open_file_fchmod(connection_struct *conn,
struct smb_filename *smb_fname,
files_struct **result);
+bool check_same_stat(const SMB_STRUCT_STAT *sbuf1,
+ const SMB_STRUCT_STAT *sbuf2);
NTSTATUS create_directory(connection_struct *conn, struct smb_request *req,
struct smb_filename *smb_dname);
void msg_file_was_renamed(struct messaging_context *msg,