diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
commit | 1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch) | |
tree | 7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/rustix/src/process/mod.rs | |
parent | 5ecd8cf2cba827454317368b68571df0d13d7842 (diff) | |
download | fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip |
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/rustix/src/process/mod.rs')
-rw-r--r-- | vendor/rustix/src/process/mod.rs | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/vendor/rustix/src/process/mod.rs b/vendor/rustix/src/process/mod.rs new file mode 100644 index 0000000..5fbc1f3 --- /dev/null +++ b/vendor/rustix/src/process/mod.rs @@ -0,0 +1,80 @@ +//! Process-associated operations. + +#[cfg(not(target_os = "wasi"))] +mod chdir; +#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] +mod chroot; +mod exit; +#[cfg(not(target_os = "wasi"))] // WASI doesn't have get[gpu]id. +mod id; +#[cfg(not(any(target_os = "aix", target_os = "espidf", target_os = "vita")))] +mod ioctl; +#[cfg(not(any(target_os = "espidf", target_os = "wasi")))] +mod kill; +#[cfg(linux_kernel)] +mod membarrier; +#[cfg(target_os = "linux")] +mod pidfd; +#[cfg(target_os = "linux")] +mod pidfd_getfd; +#[cfg(linux_kernel)] +mod prctl; +#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))] +// WASI doesn't have [gs]etpriority. +mod priority; +#[cfg(freebsdlike)] +mod procctl; +#[cfg(not(any( + target_os = "espidf", + target_os = "fuchsia", + target_os = "redox", + target_os = "vita", + target_os = "wasi" +)))] +mod rlimit; +#[cfg(any(freebsdlike, linux_kernel, target_os = "fuchsia"))] +mod sched; +mod sched_yield; +#[cfg(not(target_os = "wasi"))] // WASI doesn't have umask. +mod umask; +#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))] +mod wait; + +#[cfg(not(target_os = "wasi"))] +pub use chdir::*; +#[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] +pub use chroot::*; +pub use exit::*; +#[cfg(not(target_os = "wasi"))] +pub use id::*; +#[cfg(not(any(target_os = "aix", target_os = "espidf", target_os = "vita")))] +pub use ioctl::*; +#[cfg(not(any(target_os = "espidf", target_os = "wasi")))] +pub use kill::*; +#[cfg(linux_kernel)] +pub use membarrier::*; +#[cfg(target_os = "linux")] +pub use pidfd::*; +#[cfg(target_os = "linux")] +pub use pidfd_getfd::*; +#[cfg(linux_kernel)] +pub use prctl::*; +#[cfg(not(any(target_os = "fuchsia", target_os = "vita", target_os = "wasi")))] +pub use priority::*; +#[cfg(freebsdlike)] +pub use procctl::*; +#[cfg(not(any( + target_os = "espidf", + target_os = "fuchsia", + target_os = "redox", + target_os = "vita", + target_os = "wasi" +)))] +pub use rlimit::*; +#[cfg(any(freebsdlike, linux_kernel, target_os = "fuchsia"))] +pub use sched::*; +pub use sched_yield::sched_yield; +#[cfg(not(target_os = "wasi"))] +pub use umask::*; +#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))] +pub use wait::*; |