X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=source3%2Flib%2Fsysacls.c;h=0bf3c37edfa517dd08680dccbf79a492ec4c67b8;hb=aada94885dce29334e34c9aae32c22e7acfc1174;hp=8016773110a62067eed62ec32fe7cc2c29fab23a;hpb=f5dd864606d5e587b85695ea11520df31b353fb8;p=amitay%2Fsamba.git diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c index 8016773110a..0bf3c37edfa 100644 --- a/source3/lib/sysacls.c +++ b/source3/lib/sysacls.c @@ -375,9 +375,11 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CT } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { - return posixacl_sys_acl_set_file(handle, name, type, acl_d); + return posixacl_sys_acl_set_file(handle, smb_fname, type, acl_d); } int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, @@ -409,9 +411,11 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { - return aixacl_sys_acl_set_file(handle, name, type, acl_d); + return aixacl_sys_acl_set_file(handle, smb_fname, type, acl_d); } int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, @@ -444,9 +448,11 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { - return tru64acl_sys_acl_set_file(handle, name, type, acl_d); + return tru64acl_sys_acl_set_file(handle, smb_fname, type, acl_d); } int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, @@ -480,9 +486,11 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { - return solarisacl_sys_acl_set_file(handle, name, type, acl_d); + return solarisacl_sys_acl_set_file(handle, smb_fname, type, acl_d); } int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, @@ -514,9 +522,11 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { - return hpuxacl_sys_acl_set_file(handle, name, type, acl_d); + return hpuxacl_sys_acl_set_file(handle, smb_fname, type, acl_d); } int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, @@ -558,7 +568,9 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, } int sys_acl_set_file(vfs_handle_struct *handle, - const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) + const struct smb_filename *smb_fname, + SMB_ACL_TYPE_T type, + SMB_ACL_T acl_d) { #ifdef ENOTSUP errno = ENOTSUP;