summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aixacl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2021-06-08 17:08:42 -0700
committerRalph Boehme <slow@samba.org>2021-06-09 13:14:31 +0000
commitfcca720e60f7a38b3ab51be0285676462135babb (patch)
tree439009010ad19a18e6855d2ccdd74de10c29c341 /source3/modules/vfs_aixacl.c
parent2f4c5b9b1add1195f38af430edf16d696a3a92cb (diff)
downloadsamba-fcca720e60f7a38b3ab51be0285676462135babb.tar.gz
s3: VFS: aixacl: Remove aixacl_sys_acl_set_file().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/vfs_aixacl.c')
-rw-r--r--source3/modules/vfs_aixacl.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c
index b9d08b72a72..0628fae761b 100644
--- a/source3/modules/vfs_aixacl.c
+++ b/source3/modules/vfs_aixacl.c
@@ -80,27 +80,6 @@ SMB_ACL_T aixacl_sys_acl_get_fd(vfs_handle_struct *handle,
return NULL;*/
}
-int aixacl_sys_acl_set_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- SMB_ACL_T theacl)
-{
- struct acl *file_acl = NULL;
- unsigned int rc;
-
- file_acl = aixacl_smb_to_aixacl(type, theacl);
- if (!file_acl)
- return -1;
-
- rc = chacl((char *)smb_fname->base_name,file_acl,file_acl->acl_len);
- DEBUG(10,("errno is %d\n",errno));
- DEBUG(10,("return code is %d\n",rc));
- SAFE_FREE(file_acl);
- DEBUG(10,("Exiting the aixacl_sys_acl_set_file\n"));
-
- return rc;
-}
-
int aixacl_sys_acl_set_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,