seccomp_sys::seccomp_init [] [src]

pub unsafe extern fn seccomp_init(def_action: uint32_t) -> *mut scmp_filter_ctx

Initialize the filter state

@param def_action the default filter action

This function initializes the internal seccomp filter state and should be called before any other functions in this library to ensure the filter state is initialized. Returns a filter context on success, NULL on failure.