1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

vfs: fix acl_blob_get* in vfs_full_audit

Plumb-in functions and use correct return types.

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Sep 20 20:42:09 CEST 2012 on sn-devel-104
This commit is contained in:
David Disseldorp 2012-09-20 08:35:27 +02:00
parent 47becf6e20
commit a125ea7419

View File

@ -1832,7 +1832,7 @@ static int smb_full_audit_sys_acl_blob_get_file(vfs_handle_struct *handle,
char **blob_description,
DATA_BLOB *blob)
{
SMB_ACL_T result;
int result;
result = SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, path_p, type, mem_ctx, blob_description, blob);
@ -1848,9 +1848,9 @@ static int smb_full_audit_sys_acl_blob_get_fd(vfs_handle_struct *handle,
char **blob_description,
DATA_BLOB *blob)
{
SMB_ACL_T result;
int result;
result = SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FD(handle, fsp, mem_ctx, blob_description,blob);
result = SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FD(handle, fsp, mem_ctx, blob_description, blob);
do_log(SMB_VFS_OP_SYS_ACL_BLOB_GET_FD, (result >= 0), handle,
"%s", fsp_str_do_log(fsp));
@ -2131,6 +2131,8 @@ static struct vfs_fn_pointers vfs_full_audit_fns = {
.fchmod_acl_fn = smb_full_audit_fchmod_acl,
.sys_acl_get_file_fn = smb_full_audit_sys_acl_get_file,
.sys_acl_get_fd_fn = smb_full_audit_sys_acl_get_fd,
.sys_acl_blob_get_file_fn = smb_full_audit_sys_acl_blob_get_file,
.sys_acl_blob_get_fd_fn = smb_full_audit_sys_acl_blob_get_fd,
.sys_acl_set_file_fn = smb_full_audit_sys_acl_set_file,
.sys_acl_set_fd_fn = smb_full_audit_sys_acl_set_fd,
.sys_acl_delete_def_file_fn = smb_full_audit_sys_acl_delete_def_file,