15 lines
419 B
Rust
15 lines
419 B
Rust
use crate::platform::types::c_int;
|
|
|
|
pub const PROT_NONE: c_int = 0x0000;
|
|
pub const PROT_EXEC: c_int = 0x0001;
|
|
pub const PROT_WRITE: c_int = 0x0002;
|
|
pub const PROT_READ: c_int = 0x0004;
|
|
|
|
pub const MAP_FIXED: c_int = 0x0004;
|
|
pub const MAP_FIXED_NOREPLACE: c_int = 0x000C;
|
|
pub const MAP_POPULATE: c_int = 0x0001F;
|
|
pub const MAP_HUGETLB: c_int = 0x2E;
|
|
|
|
pub const MADV_DONTDUMP: c_int = 5;
|
|
pub const MADV_DODUMP: c_int = 6;
|