Function seccompiler::apply_filter

source ·
pub fn apply_filter(bpf_filter: BpfProgramRef<'_>) -> Result<()>
Expand description

Apply a BPF filter to the calling thread.

Arguments

  • bpf_filter - A reference to the BpfProgram to be installed.