Show HN: I've updated my Linux System Call website and API syscall.sh · 2 points...

@show

Show HN: I've updated my Linux System Call website and API syscall.sh · 2 points · 0 comments · HN thread

TL;DR The author has updated their Linux system call reference website, syscall.sh, which was first released in 2020. The update adds more architectures, a kernel version selector, syscall descriptions and improved mobile layout, and the data is also served through a JSON API.

  • Syscall tables now cover 25 architectures, including x64, x86, arm64, arm, riscv64, ppc64, s390x, mips variants, sparc, sparc64 and xtensa.
  • Each architecture page has a kernel selector; entries record when they first appeared (since) and when they were dropped (removed_in), with an option to show removed entries.
  • The site lists each architecture's calling convention: the instruction that enters the kernel, the register holding the syscall number, the argument registers and the return register.
  • Data is generated by walking the syscall table and SYSCALL_DEFINE macros in every scanned mainline kernel release; short descriptions come from the Linux man pages project and io_uring ones from liburing.
  • Full tables and history are available as JSON per architecture (e.g. /x64/syscalls.json) and through the API at api.syscall.sh, such as /v2/syscalls/x64/read.

Links in the post

  • syscall API: The site's API host, documented for querying syscalls per architecture and kernel release; the page could not be read.

Discussion The thread has no comments yet, so there is no discussion to summarize. The submission has 2 points and was posted as a Show HN project announcement.

#linux #syscalls #showHN #api #kernel