Function libseccomp_sys::seccomp_release
source · [−]pub unsafe extern "C" fn seccomp_release(ctx: scmp_filter_ctx)
Expand description
Destroys the filter state and releases any resources
ctx
: the filter context
This functions destroys the given seccomp filter state and releases any resources, including memory, associated with the filter state. This function does not reset any seccomp filters already loaded into the kernel. The filter context can no longer be used after calling this function.