Function seccompiler::apply_filter_all_threads
source · pub fn apply_filter_all_threads(bpf_filter: BpfProgramRef<'_>) -> Result<()>
Expand description
Apply a BPF filter to the all threads in the process via the TSYNC feature. Please read the
man page for seccomp (man 2 seccomp
) for more information.
Arguments
bpf_filter
- A reference to theBpfProgram
to be installed.