const struct smb_filename *smb_fname,
SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d);
-int sys_acl_set_fd(struct vfs_handle_struct *handle, struct files_struct *fsp,
- SMB_ACL_T acl_d);
+int sys_acl_set_fd(struct vfs_handle_struct *handle,
+ struct files_struct *fsp,
+ SMB_ACL_TYPE_T type,
+ SMB_ACL_T acl_d);
int sys_acl_delete_def_fd(struct vfs_handle_struct *handle,
struct files_struct *fsp);
int no_acl_syscall_error(int err);
return posixacl_sys_acl_set_file(handle, smb_fname, type, acl_d);
}
-int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
+int sys_acl_set_fd(vfs_handle_struct *handle,
+ files_struct *fsp,
+ SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d)
{
- return posixacl_sys_acl_set_fd(handle, fsp, SMB_ACL_TYPE_ACCESS, acl_d);
+ return posixacl_sys_acl_set_fd(handle, fsp, type, acl_d);
}
int sys_acl_delete_def_fd(vfs_handle_struct *handle,
return aixacl_sys_acl_set_file(handle, smb_fname, type, acl_d);
}
-int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
+int sys_acl_set_fd(vfs_handle_struct *handle,
+ files_struct *fsp,
+ SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d)
{
- return aixacl_sys_acl_set_fd(handle, fsp, acl_d);
+ return aixacl_sys_acl_set_fd(handle, fsp, type, acl_d);
}
int sys_acl_delete_def_fd(vfs_handle_struct *handle,
return solarisacl_sys_acl_set_file(handle, smb_fname, type, acl_d);
}
-int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
+int sys_acl_set_fd(vfs_handle_struct *handle,
+ files_struct *fsp,
+ SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d)
{
return solarisacl_sys_acl_set_fd(handle,
fsp,
- SMB_ACL_TYPE_ACCESS,
+ type,
acl_d);
}
return hpuxacl_sys_acl_set_file(handle, smb_fname, type, acl_d);
}
-int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
+int sys_acl_set_fd(vfs_handle_struct *handle,
+ files_struct *fsp,
+ SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d)
{
- return hpuxacl_sys_acl_set_fd(handle, fsp, acl_d);
+ return hpuxacl_sys_acl_set_file(handle, fsp->fsp_name, type, acl_d);
}
int sys_acl_delete_def_fd(vfs_handle_struct *handle,
return -1;
}
-int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
+int sys_acl_set_fd(vfs_handle_struct *handle,
+ files_struct *fsp,
+ SMB_ACL_TYPE_T type,
SMB_ACL_T acl_d)
{
#ifdef ENOTSUP