Show HN: I've updated my Linux System Call website and API syscall.sh · 15 point...
HN Best 200 @best
Show HN: I've updated my Linux System Call website and API syscall.sh · 15 points · 5 comments · HN thread
TL;DR The author has updated their Linux system call reference website, first released in 2020, adding more CPU architectures, a kernel version selector, syscall descriptions and better mobile layout. The site shows per-architecture syscall tables with calling conventions, and a JSON API at api.syscall.sh; the data is generated from the kernel source itself.
- Syscall tables cover 27 architectures, including x64, x86, arm64, arm, riscv64, ppc64, s390x, mips variants, sparc64 and xtensa.
- Each table lists the instruction that enters the kernel, the register holding the syscall number, the return register and up to six argument registers.
- A kernel selector shows when each syscall first appeared (since) and when it was dropped (removed_in), with an option to keep removed entries visible.
- Data is read by walking the syscall table and SYSCALL_DEFINE macros in every mainline release scanned; short descriptions come from the Linux man pages project and io_uring ones from liburing.
- Per-architecture JSON is available at paths like /x64/syscalls.json, and the API is queried by URL such as /v2/syscalls/x64/read.
Links in the post
- syscall.sh API: The API host for the site, with the v2 syscalls endpoint and API docs; the page could not be read, so its contents are unverified.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post is a plain Show HN announcement with 15 points at the time of capture.