check_fs_node_unlink_access

Function check_fs_node_unlink_access 

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

Validate that current_task has the permission to remove a hard link to a file. Corresponds to the inode_unlink() LSM hook.