Resolve a syscall name to a number and perform any rewriting necessary
@param arch_token the architecture token, e.g. SCMP_ARCH_*
@param 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. PseudoSyscall.*); returns __NR_SCMP_ERROR on failure.
Resolve a syscall name to a number and perform any rewriting necessary @param arch_token the architecture token, e.g. SCMP_ARCH_* @param 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. PseudoSyscall.*); returns __NR_SCMP_ERROR on failure.