resolve_pinned_bpf_object

Function resolve_pinned_bpf_object 

Source
pub fn resolve_pinned_bpf_object(
    locked: &mut Locked<Unlocked>,
    current_task: &CurrentTask,
    path: &BStr,
    open_flags: OpenFlags,
) -> Result<(BpfHandle, NamespaceNode), Errno>
Expand description

Resolves a pinned BPF object from a path, returning the handle and the node. Performs DAC and MAC checks using the specified open_flags . Also updates atime unless NOATIME flag is set.