From: Björn Jacke Date: Fri, 11 Feb 2022 02:38:31 +0000 (+0100) Subject: acl: fix function arguments for AIX' and Solaris' sys_acl_get_fd() X-Git-Tag: tevent-0.12.0~684 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=183ab5ced8377b63ad07d2e810396d3b414f4a7d;p=thirdparty%2Fsamba.git acl: fix function arguments for AIX' and Solaris' sys_acl_get_fd() BUG: https://bugzilla.samba.org/show_bug.cgi?id=14974 Signed-off-by: Bjoern Jacke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c index d42337190c3..6c08f6ce12a 100644 --- a/source3/lib/sysacls.c +++ b/source3/lib/sysacls.c @@ -387,7 +387,7 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, SMB_ACL_TYPE_T type, TALLOC_CTX *mem_ctx) { - return aixacl_sys_acl_get_fd(handle, fsp, mem_ctx); + return aixacl_sys_acl_get_fd(handle, fsp, type, mem_ctx); } int sys_acl_set_fd(vfs_handle_struct *handle, @@ -410,7 +410,7 @@ SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, SMB_ACL_TYPE_T type, TALLOC_CTX *mem_ctx) { - return solarisacl_sys_acl_get_fd(handle, fsp, + return solarisacl_sys_acl_get_fd(handle, fsp, type, mem_ctx); } diff --git a/source3/modules/vfs_solarisacl.h b/source3/modules/vfs_solarisacl.h index f914304fd24..54d538c25a8 100644 --- a/source3/modules/vfs_solarisacl.h +++ b/source3/modules/vfs_solarisacl.h @@ -27,6 +27,7 @@ SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle, SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, + SMB_ACL_TYPE_T type, TALLOC_CTX *mem_ctx); int solarisacl_sys_acl_set_fd(vfs_handle_struct *handle,