From e8e91fbbab16c7bcaa9665839d86c7d169e89fff Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Thu, 27 Sep 2012 11:50:22 +0200 Subject: 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 --- source3/modules/vfs_full_audit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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" }, -- cgit