Called internally as HPUX has no fd-based acl functions.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
/* public functions - the api */
/* public functions - the api */
-SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle,
+static SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle,
const struct smb_filename *smb_fname,
SMB_ACL_TYPE_T type,
TALLOC_CTX *mem_ctx)
const struct smb_filename *smb_fname,
SMB_ACL_TYPE_T type,
TALLOC_CTX *mem_ctx)
/* VFS operations structure */
static struct vfs_fn_pointers hpuxacl_fns = {
/* VFS operations structure */
static struct vfs_fn_pointers hpuxacl_fns = {
- .sys_acl_get_file_fn = hpuxacl_sys_acl_get_file,
.sys_acl_get_fd_fn = hpuxacl_sys_acl_get_fd,
.sys_acl_blob_get_file_fn = posix_sys_acl_blob_get_file,
.sys_acl_blob_get_fd_fn = posix_sys_acl_blob_get_fd,
.sys_acl_get_fd_fn = hpuxacl_sys_acl_get_fd,
.sys_acl_blob_get_file_fn = posix_sys_acl_blob_get_file,
.sys_acl_blob_get_fd_fn = posix_sys_acl_blob_get_fd,