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

Loads the filter into the kernel

  • ctx: the filter context

This function loads the given seccomp filter context into the kernel. If the filter was loaded correctly, the kernel will be enforcing the filter when this function returns. Returns zero on success, negative values on error.