1 --- samba-4.17.4//source3/modules/vfs_solarisacl.c 2022-08-08 16:15:39.408192400 +0000
2 +++ samba-4.17.4//source3/modules/vfs_solarisacl.c.new 2022-12-21 12:23:41.015910848 +0000
5 /* public functions - the api */
7 -static SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
8 +SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
9 const struct smb_filename *smb_fname,
12 --- samba-4.17.0/source3/modules/vfs_solarisacl.c 2022-08-08 07:15:39.408192400 +0000
13 +++ samba-4.17.0/source3/modules/vfs_solarisacl.c.new 2022-09-17 09:16:38.514619461 +0000
16 ret = acl(fsp->fsp_name->base_name, SETACL, count, solaris_acl);
18 - DBG_DEBG("settinge file acl failed!\n");
19 + DBG_DEBUG("settinge file acl failed!\n");
23 --- samba-4.18.0/source3/modules/vfs_solarisacl.c 2023-03-24 19:41:11.227232531 +0100
24 +++ samba-4.18.0/source3/modules/vfs_solarisacl.c.orig 2023-03-24 19:57:53.020532583 +0100
27 DEBUG(10, ("entering solarisacl_sys_acl_get_fd.\n"));
29 - if (!solaris_acl_get_fd(fsp_get_io_fd(fsp), &solaris_acl, &count)) {
30 + if (!solaris_acl_get_fd(fsp_get_pathref_fd(fsp), &solaris_acl, &count)) {
38 - if (!solaris_acl_get_fd(fsp_get_io_fd(fsp), &other_acl, &other_count)) {
39 + if (!solaris_acl_get_fd(fsp_get_pathref_fd(fsp), &other_acl, &other_count)) {
40 DEBUG(10, ("error getting (default) acl from fd\n"));
47 - ret = facl(fsp_get_io_fd(fsp), SETACL, count, solaris_acl);
48 + ret = facl(fsp_get_pathref_fd(fsp), SETACL, count, solaris_acl);
50 DEBUG(10, ("call of facl failed (%s).\n", strerror(errno)));