check_fs_node_link_access

Function check_fs_node_link_access 

Source
pub fn check_fs_node_link_access(
    current_task: &CurrentTask,
    parent: &FsNode,
    child: &FsNode,
) -> Result<(), Errno>
Expand description

Validate that current_task has the permission to create a new hard link to a file. Corresponds to the inode_link() LSM hook.