pub unsafe extern "C" fn seccomp_arch_add(
ctx: scmp_filter_ctx,
arch_token: u32,
) -> c_intExpand description
Adds an architecture to the filter
ctx: the filter contextarch_token: the architecture token, e.g.SCMP_ARCH_*
This function adds a new architecture to the given seccomp filter context.
Any new rules added after this function successfully returns will be added
to this architecture but existing rules will not be added to this
architecture. If the architecture token is SCMP_ARCH_NATIVE then the native
architecture will be assumed. Returns zero on success, -libc::EEXIST if
specified architecture is already present, other negative values on failure.