File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -481,9 +481,6 @@ pub const LC_ALL_MASK: ::c_int = ::LC_CTYPE_MASK
481
481
| LC_MEASUREMENT_MASK
482
482
| LC_IDENTIFICATION_MASK ;
483
483
484
- pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
485
- pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
486
-
487
484
pub const ENOTSUP : :: c_int = EOPNOTSUPP ;
488
485
489
486
pub const SOCK_SEQPACKET : :: c_int = 5 ;
Original file line number Diff line number Diff line change @@ -2304,6 +2304,14 @@ pub const ALG_SET_AEAD_AUTHSIZE: ::c_int = 5;
2304
2304
pub const ALG_OP_DECRYPT : :: c_int = 0 ;
2305
2305
pub const ALG_OP_ENCRYPT : :: c_int = 1 ;
2306
2306
2307
+ // include/uapi/linux/mman.h
2308
+ pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
2309
+
2310
+ // include/uapi/asm-generic/mman-common.h
2311
+ #[ cfg( not( any( target_arch = "mips" , target_arch = "mips64" ) ) ) ]
2312
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
2313
+ pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
2314
+
2307
2315
// uapi/linux/vm_sockets.h
2308
2316
pub const VMADDR_CID_ANY : :: c_uint = 0xFFFFFFFF ;
2309
2317
pub const VMADDR_CID_HYPERVISOR : :: c_uint = 0 ;
You can’t perform that action at this time.
0 commit comments