From 9016cb5c64351ff267d8deb43451370d6dcbba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Fri, 11 Feb 2022 03:38:31 +0100 Subject: 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 (cherry picked from commit 183ab5ced8377b63ad07d2e810396d3b414f4a7d) --- source3/lib/sysacls.c | 2 +- source3/modules/vfs_solarisacl.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c index d42337190c3..76378b760be 100644 --- a/source3/lib/sysacls.c +++ b/source3/lib/sysacls.c @@ -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, -- cgit v1.2.1