fs_node_permission

Function fs_node_permission 

Source
pub fn fs_node_permission(
    current_task: &CurrentTask,
    fs_node: &FsNode,
    permission_flags: PermissionFlags,
    audit_context: Auditable<'_>,
) -> Result<(), Errno>
Expand description

Checks whether the current_task can access an inode. Corresponds to the inode_permission() LSM hook.