seccomp_precompute

Function seccomp_precompute 

Source
pub unsafe extern "C" fn seccomp_precompute(
    ctx: const_scmp_filter_ctx,
) -> c_int
Expand description

Precompute the seccomp filter for future use

  • ctx: the filter context

This function precomputes the seccomp filter and stores it internally for future use, speeding up seccomp_load() and other functions which require the generated filter.