fs_node_init_anon

Function fs_node_init_anon 

Source
pub fn fs_node_init_anon(
    current_task: &CurrentTask,
    new_node: &FsNode,
    node_type: &str,
) -> Result<(), Errno>
Expand description

Called on creation of anonymous crate::vfs::FsNodes. APIs that create file-descriptors that are not linked into any filesystem directory structure create anonymous nodes, labeled by this hook rather than fs_node_init_on_create() above. Corresponds to the inode_init_security_anon() LSM hook.