[][src]Function seccomp_sys::seccomp_load

pub unsafe extern "C" fn seccomp_load(ctx: *const scmp_filter_ctx) -> c_int

Loads the filter into the kernel

@param 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.