summaryrefslogtreecommitdiff
path: root/source3/lib/sysacls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2021-06-08 16:21:14 -0700
committerRalph Boehme <slow@samba.org>2021-06-09 13:14:31 +0000
commit8ed07fa8d2da66e76d8d85af32fb2f4212790fa3 (patch)
tree30173f0ad67aa6def4f30d5f19345c63ebd2a012 /source3/lib/sysacls.c
parent386f75f3ec08d0c94e028abbd4bbb067e6cddb38 (diff)
downloadsamba-8ed07fa8d2da66e76d8d85af32fb2f4212790fa3.tar.gz
samba-8ed07fa8d2da66e76d8d85af32fb2f4212790fa3.tar.bz2
samba-8ed07fa8d2da66e76d8d85af32fb2f4212790fa3.zip
s3: lib: sysacls: Remove sys_acl_get_file(). No longer used.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/lib/sysacls.c')
-rw-r--r--source3/lib/sysacls.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index ca31fc60bfb..4223d87bee7 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -359,14 +359,6 @@ int sys_acl_valid(SMB_ACL_T acl_d)
#if defined(HAVE_POSIX_ACLS)
-SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- TALLOC_CTX *mem_ctx)
-{
- return posixacl_sys_acl_get_file(handle, smb_fname, type, mem_ctx);
-}
-
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,
@@ -397,14 +389,6 @@ int sys_acl_delete_def_fd(vfs_handle_struct *handle,
#elif defined(HAVE_AIX_ACLS)
-SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- TALLOC_CTX *mem_ctx)
-{
- return aixacl_sys_acl_get_file(handle, smb_fname, type, mem_ctx);
-}
-
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,
@@ -434,15 +418,6 @@ int sys_acl_delete_def_fd(vfs_handle_struct *handle,
}
#elif defined(HAVE_SOLARIS_UNIXWARE_ACLS)
-SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- TALLOC_CTX *mem_ctx)
-{
- return solarisacl_sys_acl_get_file(handle, smb_fname, type,
- mem_ctx);
-}
-
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,
@@ -476,14 +451,6 @@ int sys_acl_delete_def_fd(vfs_handle_struct *handle,
}
#elif defined(HAVE_HPUX_ACLS)
-SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- TALLOC_CTX *mem_ctx)
-{
- return hpuxacl_sys_acl_get_file(handle, smb_fname, type, mem_ctx);
-}
-
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,
@@ -513,19 +480,6 @@ int sys_acl_delete_def_fd(vfs_handle_struct *handle,
}
#else /* No ACLs. */
-SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- SMB_ACL_TYPE_T type,
- TALLOC_CTX *mem_ctx)
-{
-#ifdef ENOTSUP
- errno = ENOTSUP;
-#else
- errno = ENOSYS;
-#endif
- return NULL;
-}
-
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle,
files_struct *fsp,
SMB_ACL_TYPE_T type,