seccomp_sys::seccomp_load [] [src]

pub unsafe extern 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.