summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-09-27 11:50:22 +0200
committerDavid Disseldorp <ddiss@samba.org>2012-09-28 17:44:55 +0200
commite8e91fbbab16c7bcaa9665839d86c7d169e89fff (patch)
tree52fb7854b44b42b6d4e1962d8ec8886b46e5d44b /source3/modules
parentb9ca792af2091474f826827190987681c1333ef5 (diff)
downloadsamba-e8e91fbbab16c7bcaa9665839d86c7d169e89fff.tar.gz
samba-e8e91fbbab16c7bcaa9665839d86c7d169e89fff.tar.bz2
samba-e8e91fbbab16c7bcaa9665839d86c7d169e89fff.zip
vfs: add missing pwrite ops to full_audit
The op enum is used by audit_opname() as an index into the vfs_op_names array, so any decrepencies cause bogus audit log entries. Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_full_audit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 1a481abfd5..5c5f91cfd0 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -236,6 +236,8 @@ static struct {
{ SMB_VFS_OP_PREAD_RECV, "pread_recv" },
{ SMB_VFS_OP_WRITE, "write" },
{ SMB_VFS_OP_PWRITE, "pwrite" },
+ { SMB_VFS_OP_PWRITE_SEND, "pwrite_send" },
+ { SMB_VFS_OP_PWRITE_RECV, "pwrite_recv" },
{ SMB_VFS_OP_LSEEK, "lseek" },
{ SMB_VFS_OP_SENDFILE, "sendfile" },
{ SMB_VFS_OP_RECVFILE, "recvfile" },