Find
C
ase-sensitive
R
egexp search
Path
mozilla-central
/
third_party
/
rust
/
rustix
/
src
/
backend
/
linux_raw
/
mm
Navigation
Enable keyboard shortcuts
Name
Description
Size
mod.rs
47
syscalls.rs
linux_raw syscalls supporting `rustix::io`. # Safety See the `rustix::backend` module documentation for details.
6685
types.rs
/bitflags/#externally-defined-flags> const _ = !0; } } bitflags! { /// `PROT_*` flags for use with [`mprotect`]. /// /// For `PROT_NONE`, use `MprotectFlags::empty()`. /// /// [`mprotect`]: crate::mm::mprotect #[repr(transparent)] #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] pub struct MprotectFlags: u32 { /// `PROT_READ` const READ = linux_raw_sys::general::PROT_READ; /// `PROT_WRITE` const WRITE = linux_raw_sys::general::PROT_WRITE; /// `PROT_EXEC` const EXEC = linux_raw_sys::general::PROT_EXEC; /// `PROT_GROWSUP` const GROWSUP = linux_raw_sys::general::PROT_GROWSUP; /// `PROT_GROWSDOWN` const GROWSDOWN = linux_raw_sys::general::PROT_GROWSDOWN; /// `PROT_SEM` const SEM = linux_raw_sys::general::PROT_SEM; /// `PROT_BTI` #[cfg(target_arch = "aarch64")] const BTI = linux_raw_sys::general::PROT_BTI; /// `PROT_MTE` #[cfg(target_arch = "aarch64")] const MTE = linux_raw_sys::general::PROT_MTE; /// `PROT_SAO` #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] const SAO = linux_raw_sys::general::PROT_SAO; /// `PROT_ADI` #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] const ADI = linux_raw_sys::general::PROT_ADI; /// <https://docs.rs/bitflags/
11240