Expand description
The linux_raw backend.
This makes Linux syscalls directly, without going through libc.
ยงSafety
These files performs raw system calls, and sometimes passes them uninitialized memory buffers. The signatures in this module are currently manually maintained and must correspond with the signatures of the actual Linux syscalls.
Some of this could be auto-generated from the Linux header file <linux/syscalls.h>, but we often need more information than it provides, such as which pointers are array slices, out parameters, or in-out parameters, which integers are owned or borrowed file descriptors, etc.
Modulesยง
- arch ๐Architecture-specific syscall code.
- c ๐Adapt the Linux API to resemble a POSIX-style libc API.
- conv ๐
- event ๐
- fd ๐
- fs ๐
- io ๐
- mount ๐
- net ๐
- param ๐
- pid ๐
- pipe ๐
- prctl ๐
- process ๐
- reg ๐Encapsulation for system call arguments and return values.
- shm ๐
- system ๐
- thread ๐
- time ๐
- ugid ๐
- vdso ๐Parse the Linux vDSO.
- vdso_
wrappers ๐Implement syscalls using the vDSO.
Constantsยง
- MAX_IOV ๐The maximum number of buffers that can be passed into a vectored I/O system call on the current platform.