Move mmap flag 'MAP_SHARED_VALIDATE' to linux/mod.rs from gnu/mod.rs
This commit is contained in:
parent
a185332230
commit
56bd41794b
|
@ -481,9 +481,7 @@ pub const LC_ALL_MASK: ::c_int = ::LC_CTYPE_MASK
|
|||
| LC_MEASUREMENT_MASK
|
||||
| LC_IDENTIFICATION_MASK;
|
||||
|
||||
pub const MAP_SHARED_VALIDATE: ::c_int = 0x3;
|
||||
pub const MAP_FIXED_NOREPLACE: ::c_int = 0x100000;
|
||||
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
|
||||
pub const SOCK_SEQPACKET: ::c_int = 5;
|
||||
|
|
|
@ -2304,6 +2304,9 @@ pub const ALG_SET_AEAD_AUTHSIZE: ::c_int = 5;
|
|||
pub const ALG_OP_DECRYPT: ::c_int = 0;
|
||||
pub const ALG_OP_ENCRYPT: ::c_int = 1;
|
||||
|
||||
// include/uapi/linux/mman.h
|
||||
pub const MAP_SHARED_VALIDATE: ::c_int = 0x3;
|
||||
|
||||
// uapi/linux/vm_sockets.h
|
||||
pub const VMADDR_CID_ANY: ::c_uint = 0xFFFFFFFF;
|
||||
pub const VMADDR_CID_HYPERVISOR: ::c_uint = 0;
|
||||
|
|
Loading…
Reference in New Issue