ausyscall
map between Linux system-call names and numbers
TLDR
SYNOPSIS
ausyscall [arch] name|number [--exact]ausyscall [arch] --dump
DESCRIPTION
ausyscall is a small lookup utility from the Linux audit framework. It is the canonical place to translate syscall numbers seen in audit logs, `strace` output, `seccomp` filters, and BPF programs into their human-readable names (and vice-versa) for any supported architecture.Syscall numbers differ between architectures — `openat` is 257 on x86_64 but 295 on i386 — so always pass the correct architecture when inspecting logs produced on a different machine.
PARAMETERS
ARCH
Target architecture: `b32` / `b64` (biarch shortcuts) or an explicit name such as `i386`, `x86_64`, `aarch64`/`arm64`, `arm`, `ppc`, `ppc64le`, `s390x`, `riscv64`. Defaults to the running kernel's architecture.NAME
System-call name (e.g. `openat`, `execve`). A substring match is used unless `--exact` is given.NUMBER
Numeric system-call number.--dump
List every syscall name and number for the selected architecture.--exact
Require an exact name match instead of substring.-h, --help
Show help.-V, --version
Show version.
CAVEATS
Part of the audit package (`audit-userspace`). The syscall table is baked in at build time; very new syscalls may be missing on older audit builds. On multi-arch kernels, use `b32`/`b64` shortcuts to pick the right ABI.
HISTORY
ausyscall ships with the Linux Audit user-space tools originally developed by Red Hat (primarily Steve Grubb). It uses the syscall tables maintained in the audit source tree alongside `auparse`.
