Skip to main content

fs_node_needs_killpriv

Function fs_node_needs_killpriv 

Source
pub fn fs_node_needs_killpriv(
    current_task: &CurrentTask,
    fs_node: &FsNode,
) -> Result<bool, Errno>
Expand description

Returns whether fs_node has privileges (e.g. file capabilities) that need to be removed when modified.

Corresponds to the inode_need_killpriv() LSM hook.