The Samba-Bugzilla – Attachment 5596 Details for
Bug 7326
can't read/write any files with full_audit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am version of the same 3.4.x patch.
0001-s3-Fix-bug-7326-can-t-write-with-vfs_full_audit-acti.patch (text/plain), 1.61 KB, created by
Jeremy Allison
on 2010-04-05 17:17:50 UTC
(
hide
)
Description:
git-am version of the same 3.4.x patch.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-04-05 17:17:50 UTC
Size:
1.61 KB
patch
obsolete
>From 4c0f5c7fc682362171225f70aaad35297a99ec8d Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 5 Apr 2010 15:16:22 -0700 >Subject: [PATCH] s3: Fix bug 7326 -- can't write with vfs_full_audit active > >--- > source3/modules/vfs_full_audit.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c >index ebe89ec..ac7f7a3 100644 >--- a/source3/modules/vfs_full_audit.c >+++ b/source3/modules/vfs_full_audit.c >@@ -158,7 +158,7 @@ static int smb_full_audit_fstat(vfs_handle_struct *handle, files_struct *fsp, > SMB_STRUCT_STAT *sbuf); > static int smb_full_audit_lstat(vfs_handle_struct *handle, > const char *path, SMB_STRUCT_STAT *sbuf); >-static int smb_full_audit_get_alloc_size(vfs_handle_struct *handle, >+static uint64_t smb_full_audit_get_alloc_size(vfs_handle_struct *handle, > files_struct *fsp, const SMB_STRUCT_STAT *sbuf); > static int smb_full_audit_unlink(vfs_handle_struct *handle, > const char *path); >@@ -1396,14 +1396,14 @@ static int smb_full_audit_lstat(vfs_handle_struct *handle, > return result; > } > >-static int smb_full_audit_get_alloc_size(vfs_handle_struct *handle, >+static uint64_t smb_full_audit_get_alloc_size(vfs_handle_struct *handle, > files_struct *fsp, const SMB_STRUCT_STAT *sbuf) > { >- int result; >+ uint64_t result; > > result = SMB_VFS_NEXT_GET_ALLOC_SIZE(handle, fsp, sbuf); > >- do_log(SMB_VFS_OP_GET_ALLOC_SIZE, (result >= 0), handle, "%d", result); >+ do_log(SMB_VFS_OP_GET_ALLOC_SIZE, (result != (uint64_t)-1), handle, "%llu", result); > > return result; > } >-- >1.7.0.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 7326
:
5592
|
5593
|
5594
|
5595
| 5596