seccomp_sys::seccomp_reset [] [src]

pub unsafe extern fn seccomp_reset(ctx: *mut scmp_filter_ctx, def_action: uint32_t) -> c_int

Reset the filter state

@param ctx the filter context @param def_action the default filter action

This function resets the given seccomp filter state and ensures the filter state is reinitialized. This function does not reset any seccomp filters already loaded into the kernel. Returns zero on success, negative values on failure.