Function libseccomp_sys::seccomp_arch_remove
source · [−]pub unsafe extern "C" fn seccomp_arch_remove(
ctx: scmp_filter_ctx,
arch_token: u32
) -> c_int
Expand description
Removes an architecture from the filter
ctx
: the filter contextarch_token
: the architecture token, e.g.SCMP_ARCH_*
This function removes an architecture from the given seccomp filter context.
If the architecture token is SCMP_ARCH_NATIVE
then the native architecture
will be assumed. Returns zero on success, negative values on failure.