Linux Syscall Support (LSS) is a project that provides a header file for embedding Linux system calls directly in applications. The goal is to mirror the standard C library API while still allowing for direct syscalls. The project aims to hide differences between architectures, such as providing a sys_open helper that calls openat on newer architectures. While LSS supports various architectures, users must be cautious of ABI differences and handle errors when running on older kernels. The project does not support vararg functions and encourages bug reports and feature requests. LSS is used in projects like Chromium, Breakpad, and Native Client.
https://chromium.googlesource.com/linux-syscall-support/