rustix/process/
mod.rs
1#[cfg(not(target_os = "wasi"))]
4mod chdir;
5#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))]
6mod chroot;
7mod exit;
8#[cfg(not(any(
9 target_os = "emscripten",
10 target_os = "espidf",
11 target_os = "fuchsia",
12 target_os = "horizon",
13 target_os = "redox",
14 target_os = "vita",
15 target_os = "wasi"
16)))]
17mod fcntl_getlk;
18#[cfg(not(target_os = "wasi"))] mod id;
20#[cfg(not(any(target_os = "aix", target_os = "espidf", target_os = "vita")))]
21mod ioctl;
22#[cfg(not(any(target_os = "espidf", target_os = "wasi")))]
23mod kill;
24#[cfg(target_os = "linux")]
25mod pidfd;
26#[cfg(target_os = "linux")]
27mod pidfd_getfd;
28#[cfg(target_os = "linux")]
29mod pivot_root;
30#[cfg(linux_kernel)]
31mod prctl;
32#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))]
33mod priority;
35#[cfg(freebsdlike)]
36mod procctl;
37#[cfg(not(any(
38 target_os = "espidf",
39 target_os = "fuchsia",
40 target_os = "horizon",
41 target_os = "redox",
42 target_os = "vita",
43 target_os = "wasi"
44)))]
45mod rlimit;
46#[cfg(not(any(
47 target_os = "emscripten",
48 target_os = "espidf",
49 target_os = "fuchsia",
50 target_os = "redox",
51 target_os = "vita",
52 target_os = "wasi"
53)))]
54mod types;
55#[cfg(not(target_os = "wasi"))] mod umask;
57#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
58mod wait;
59
60#[cfg(not(target_os = "wasi"))]
61pub use chdir::*;
62#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))]
63pub use chroot::*;
64pub use exit::*;
65#[cfg(not(any(
66 target_os = "emscripten",
67 target_os = "espidf",
68 target_os = "fuchsia",
69 target_os = "horizon",
70 target_os = "redox",
71 target_os = "vita",
72 target_os = "wasi"
73)))]
74pub use fcntl_getlk::*;
75#[cfg(not(target_os = "wasi"))]
76pub use id::*;
77#[cfg(not(any(target_os = "aix", target_os = "espidf", target_os = "vita")))]
78pub use ioctl::*;
79#[cfg(not(any(target_os = "espidf", target_os = "wasi")))]
80pub use kill::*;
81#[cfg(target_os = "linux")]
82pub use pidfd::*;
83#[cfg(target_os = "linux")]
84pub use pidfd_getfd::*;
85#[cfg(target_os = "linux")]
86pub use pivot_root::*;
87#[cfg(linux_kernel)]
88pub use prctl::*;
89#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))]
90pub use priority::*;
91#[cfg(freebsdlike)]
92pub use procctl::*;
93#[cfg(not(any(
94 target_os = "espidf",
95 target_os = "fuchsia",
96 target_os = "horizon",
97 target_os = "redox",
98 target_os = "vita",
99 target_os = "wasi"
100)))]
101pub use rlimit::*;
102#[cfg(not(any(
103 target_os = "emscripten",
104 target_os = "espidf",
105 target_os = "fuchsia",
106 target_os = "redox",
107 target_os = "vita",
108 target_os = "wasi"
109)))]
110pub use types::*;
111#[cfg(not(target_os = "wasi"))]
112pub use umask::*;
113#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
114pub use wait::*;