check_fs_node_mkdir_access

Function check_fs_node_mkdir_access 

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

Validate that current_task has permission to create a new directory in the parent directory, with the specified file mode. Corresponds to the inode_mkdir() LSM hook.