aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/syscalls.zig
AgeCommit message (Collapse)Author
2022-08-05Update Linux syscall list for 5.19Stephen Gregoratto
New changes: memfd_secret implemented for RISC-V.
2022-05-16Generate linux syscalls via. the linux source treeStephen Gregoratto
Previously, updating the `SYS` enum for each architecture required manually looking at the syscall tables and inserting any new additions. This commit adds a tool, `generate_linux_syscalls.zig`, that automates this process using the syscall tables in the Linux source tree. On architectures without a table, it runs `zig cc` as a pre-processor to extract the system-call numbers from the Linux headers.