check_fs_node_rmdir_access

Function check_fs_node_rmdir_access 

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

Validate that current_task has the permission to remove a directory. Corresponds to the inode_rmdir() LSM hook.