File tree Expand file tree Collapse file tree 15 files changed +14
-2
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 15 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ pub const MAP_NONBLOCK: ::c_int = 0x010000;
212
212
pub const MAP_STACK : :: c_int = 0x020000 ;
213
213
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
214
214
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
215
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
215
216
216
217
pub const SOL_SOCKET : :: c_int = 1 ;
217
218
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ pub const MAP_NONBLOCK: ::c_int = 0x010000;
213
213
pub const MAP_STACK : :: c_int = 0x020000 ;
214
214
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
215
215
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
216
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
216
217
217
218
pub const SOL_SOCKET : :: c_int = 1 ;
218
219
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
245
245
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
246
246
pub const MAP_STACK : :: c_int = 0x020000 ;
247
247
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
248
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
248
249
249
250
pub const EDEADLK : :: c_int = 78 ;
250
251
pub const ENAMETOOLONG : :: c_int = 63 ;
Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ pub const MAP_NONBLOCK: ::c_int = 0x010000;
416
416
pub const MAP_STACK : :: c_int = 0x020000 ;
417
417
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
418
418
pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
419
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
419
420
420
421
pub const EDEADLOCK : :: c_int = 35 ;
421
422
pub const EUCLEAN : :: c_int = 117 ;
Original file line number Diff line number Diff line change @@ -533,6 +533,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
533
533
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
534
534
pub const MAP_STACK : :: c_int = 0x020000 ;
535
535
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
536
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
536
537
537
538
pub const EDEADLOCK : :: c_int = 35 ;
538
539
Original file line number Diff line number Diff line change @@ -544,6 +544,7 @@ pub const O_DIRECT: ::c_int = 0x20000;
544
544
545
545
pub const MAP_LOCKED : :: c_int = 0x00080 ;
546
546
pub const MAP_NORESERVE : :: c_int = 0x00040 ;
547
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
547
548
548
549
pub const EDEADLOCK : :: c_int = 58 ;
549
550
pub const EUCLEAN : :: c_int = 117 ;
Original file line number Diff line number Diff line change @@ -474,6 +474,7 @@ pub const MAP_EXECUTABLE: ::c_int = 4096;
474
474
pub const MAP_POPULATE : :: c_int = 32768 ;
475
475
pub const MAP_NONBLOCK : :: c_int = 65536 ;
476
476
pub const MAP_STACK : :: c_int = 131072 ;
477
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
477
478
pub const EDEADLOCK : :: c_int = 35 ;
478
479
pub const EUCLEAN : :: c_int = 117 ;
479
480
pub const ENOTNAM : :: c_int = 118 ;
Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
247
247
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
248
248
pub const MAP_STACK : :: c_int = 0x020000 ;
249
249
pub const MAP_HUGETLB : :: c_int = 0x040000 ;
250
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
250
251
251
252
pub const EDEADLK : :: c_int = 78 ;
252
253
pub const ENAMETOOLONG : :: c_int = 63 ;
Original file line number Diff line number Diff line change @@ -701,6 +701,7 @@ pub const MAP_EXECUTABLE: ::c_int = 0x01000;
701
701
pub const MAP_POPULATE : :: c_int = 0x08000 ;
702
702
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
703
703
pub const MAP_STACK : :: c_int = 0x020000 ;
704
+ pub const MAP_SYNC : :: c_int = 0x080000 ;
704
705
705
706
pub const EDEADLOCK : :: c_int = 35 ;
706
707
pub const EUCLEAN : :: c_int = 117 ;
Original file line number Diff line number Diff line change @@ -2310,8 +2310,6 @@ pub const ALG_OP_ENCRYPT: ::c_int = 1;
2310
2310
pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
2311
2311
2312
2312
// include/uapi/asm-generic/mman-common.h
2313
- #[ cfg( not( any( target_arch = "mips" , target_arch = "mips64" ) ) ) ]
2314
- pub const MAP_SYNC : :: c_int = 0x080000 ;
2315
2313
pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
2316
2314
2317
2315
// uapi/linux/vm_sockets.h
You can’t perform that action at this time.
0 commit comments