pub unsafe extern "C" fn seccomp_syscall_resolve_name_rewrite(
arch_token: u32,
name: *const c_char,
) -> c_intExpand description
Resolve a syscall name to a number and perform any rewriting necessary
arch_token: the architecture token, e.g.SCMP_ARCH_*name: the syscall name
Resolve the given syscall name to the syscall number for the given
architecture and do any necessary syscall rewriting needed by the
architecture. Returns the syscall number on success, including negative
pseudo syscall numbers (e.g. __PNR_*); returns __NR_SCMP_ERROR on failure.