check_fs_node_create_access

Function check_fs_node_create_access 

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

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