rustix/backend/linux_raw/
mod.rs1#[macro_use]
18mod arch;
19mod conv;
20mod reg;
21#[cfg(any(feature = "time", feature = "thread", target_arch = "x86"))]
22mod vdso;
23#[cfg(any(feature = "time", feature = "thread", target_arch = "x86"))]
24mod vdso_wrappers;
25
26#[cfg(feature = "event")]
27pub(crate) mod event;
28#[cfg(any(
29 feature = "fs",
30 all(
31 not(feature = "use-libc-auxv"),
32 not(feature = "use-explicitly-provided-auxv"),
33 any(
34 feature = "param",
35 feature = "runtime",
36 feature = "thread",
37 feature = "time",
38 target_arch = "x86",
39 )
40 )
41))]
42pub(crate) mod fs;
43pub(crate) mod io;
44#[cfg(feature = "io_uring")]
45pub(crate) mod io_uring;
46#[cfg(feature = "mm")]
47pub(crate) mod mm;
48#[cfg(feature = "mount")]
49pub(crate) mod mount;
50#[cfg(feature = "net")]
51pub(crate) mod net;
52#[cfg(any(
53 feature = "param",
54 feature = "runtime",
55 feature = "thread",
56 feature = "time",
57 target_arch = "x86",
58))]
59pub(crate) mod param;
60#[cfg(feature = "pipe")]
61pub(crate) mod pipe;
62#[cfg(feature = "process")]
63pub(crate) mod process;
64#[cfg(feature = "pty")]
65pub(crate) mod pty;
66#[cfg(feature = "rand")]
67pub(crate) mod rand;
68#[cfg(feature = "runtime")]
69pub(crate) mod runtime;
70#[cfg(feature = "shm")]
71pub(crate) mod shm;
72#[cfg(feature = "system")]
73pub(crate) mod system;
74#[cfg(feature = "termios")]
75pub(crate) mod termios;
76#[cfg(feature = "thread")]
77pub(crate) mod thread;
78#[cfg(feature = "time")]
79pub(crate) mod time;
80
81pub(crate) use crate::maybe_polyfill::os::fd;
83
84pub(crate) mod c;
87
88#[cfg(any(feature = "process", feature = "runtime"))]
90pub(crate) mod pid;
91#[cfg(any(feature = "process", feature = "thread"))]
92pub(crate) mod prctl;
93#[cfg(any(
94 feature = "fs",
95 feature = "process",
96 feature = "thread",
97 all(
98 not(feature = "use-libc-auxv"),
99 not(feature = "use-explicitly-provided-auxv"),
100 any(
101 feature = "param",
102 feature = "runtime",
103 feature = "time",
104 target_arch = "x86",
105 )
106 )
107))]
108pub(crate) mod ugid;
109
110const MAX_IOV: usize = linux_raw_sys::general::UIO_MAXIOV as usize;