Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 155788 Details for
Bug 241870
Module vfs_full_audit logs unwanted operation types
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
vfs_full_audit fix
samba-3.0.10-vfs_full_audit.b_2451.r_5810.patch (text/plain), 2.01 KB, created by
Jose Plans
on 2007-05-31 10:21:11 UTC
(
hide
)
Description:
vfs_full_audit fix
Filename:
MIME Type:
Creator:
Jose Plans
Created:
2007-05-31 10:21:11 UTC
Size:
2.01 KB
patch
obsolete
>Index: samba-3.0.10/source/modules/vfs_full_audit.c >=================================================================== >--- samba-3.0.10/source/modules/vfs_full_audit.c (revision 5810) >+++ samba-3.0.10/source/modules/vfs_full_audit.c (working copy) >@@ -82,6 +82,10 @@ > struct connection_struct *conn, > enum SMB_QUOTA_TYPE qtype, unid_t id, > SMB_DISK_QUOTA *qt); >+static int smb_full_audit_get_shadow_copy_data(struct vfs_handle_struct *handle, >+ struct files_struct *fsp, >+ SHADOW_COPY_DATA *shadow_copy_data, BOOL labels); >+ > static DIR *smb_full_audit_opendir(vfs_handle_struct *handle, connection_struct *conn, > const char *fname); > static SMB_STRUCT_DIRENT *smb_full_audit_readdir(vfs_handle_struct *handle, >@@ -303,6 +307,8 @@ > SMB_VFS_LAYER_LOGGER}, > {SMB_VFS_OP(smb_full_audit_set_quota), SMB_VFS_OP_SET_QUOTA, > SMB_VFS_LAYER_LOGGER}, >+ {SMB_VFS_OP(smb_full_audit_get_shadow_copy_data), SMB_VFS_OP_GET_SHADOW_COPY_DATA, >+ SMB_VFS_LAYER_LOGGER}, > > /* Directory operations */ > >@@ -395,9 +401,9 @@ > > /* POSIX ACL operations. */ > >- {SMB_VFS_OP(smb_full_audit_chmod_acl), SMB_VFS_OP_CHMOD, >+ {SMB_VFS_OP(smb_full_audit_chmod_acl), SMB_VFS_OP_CHMOD_ACL, > SMB_VFS_LAYER_LOGGER}, >- {SMB_VFS_OP(smb_full_audit_fchmod_acl), SMB_VFS_OP_FCHMOD, >+ {SMB_VFS_OP(smb_full_audit_fchmod_acl), SMB_VFS_OP_FCHMOD_ACL, > SMB_VFS_LAYER_LOGGER}, > {SMB_VFS_OP(smb_full_audit_sys_acl_get_entry), SMB_VFS_OP_SYS_ACL_GET_ENTRY, > SMB_VFS_LAYER_LOGGER}, >@@ -788,6 +794,19 @@ > return result; > } > >+static int smb_full_audit_get_shadow_copy_data(struct vfs_handle_struct *handle, >+ struct files_struct *fsp, >+ SHADOW_COPY_DATA *shadow_copy_data, BOOL labels) >+{ >+ int result; >+ >+ result = SMB_VFS_NEXT_GET_SHADOW_COPY_DATA(handle, fsp, shadow_copy_data, labels); >+ >+ do_log(SMB_VFS_OP_GET_SHADOW_COPY_DATA, (result >= 0), handle, ""); >+ >+ return result; >+} >+ > static DIR *smb_full_audit_opendir(vfs_handle_struct *handle, connection_struct *conn, > const char *fname) > {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241870
: 155788