Move mmap flag 'MAP_FIXED_NOREPLACE' from gnu/mod.rs to linux/mod.rs
This commit is contained in:
parent
bc68163a7b
commit
ae46b45643
|
@ -481,7 +481,6 @@ pub const LC_ALL_MASK: ::c_int = ::LC_CTYPE_MASK
|
|||
| LC_MEASUREMENT_MASK
|
||||
| LC_IDENTIFICATION_MASK;
|
||||
|
||||
pub const MAP_FIXED_NOREPLACE: ::c_int = 0x100000;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
|
||||
pub const SOCK_SEQPACKET: ::c_int = 5;
|
||||
|
|
|
@ -2310,6 +2310,7 @@ pub const MAP_SHARED_VALIDATE: ::c_int = 0x3;
|
|||
// include/uapi/asm-generic/mman-common.h
|
||||
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
|
||||
pub const MAP_SYNC : ::c_int = 0x080000;
|
||||
pub const MAP_FIXED_NOREPLACE: ::c_int = 0x100000;
|
||||
|
||||
// uapi/linux/vm_sockets.h
|
||||
pub const VMADDR_CID_ANY: ::c_uint = 0xFFFFFFFF;
|
||||
|
|
Loading…
Reference in New Issue