rustix

Module backend

Source
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§

Constants§

  • MAX_IOV 🔒
    The maximum number of buffers that can be passed into a vectored I/O system call on the current platform.