From 0dc3f423d25d3a50fa39ecee8a8ca13cdfe32267 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 27 Apr 2012 21:31:34 -0700 Subject: Add an audit file VFS routine so we can handle auditing with SACLs. Autobuild-User: Richard Sharpe Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104 --- source3/include/vfs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/include/vfs.h') diff --git a/source3/include/vfs.h b/source3/include/vfs.h index e858235a91..b5f234ad09 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -370,6 +370,12 @@ struct vfs_fn_pointers { uint32 security_info_sent, const struct security_descriptor *psd); + NTSTATUS (*audit_file_fn)(struct vfs_handle_struct *handle, + struct smb_filename *file, + struct security_acl *sacl, + uint32_t access_requested, + uint32_t access_denied); + /* POSIX ACL operations. */ int (*chmod_acl_fn)(struct vfs_handle_struct *handle, const char *name, mode_t mode); -- cgit