]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
acl: fix function arguments for AIX' and Solaris' sys_acl_get_fd()
authorBjörn Jacke <bj@sernet.de>
Fri, 11 Feb 2022 02:38:31 +0000 (03:38 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 18 Feb 2022 22:17:33 +0000 (22:17 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14974

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/sysacls.c
source3/modules/vfs_solarisacl.h

index d42337190c39df0bd016bc5aa6781290a7ceac06..6c08f6ce12a7fa472ee5d96577276a3f6dd8f128 100644 (file)
@@ -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);
 }
 
index f914304fd24b52db018f8fec39626a6d2cc21799..54d538c25a8402f0f699c1dc135f5cd380701a0a 100644 (file)
@@ -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,