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;
212212pub const MAP_STACK : :: c_int = 0x020000 ;
213213pub const MAP_HUGETLB : :: c_int = 0x040000 ;
214214pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
215+ pub const MAP_SYNC : :: c_int = 0x080000 ;
215216
216217pub const SOL_SOCKET : :: c_int = 1 ;
217218
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ pub const MAP_NONBLOCK: ::c_int = 0x010000;
213213pub const MAP_STACK : :: c_int = 0x020000 ;
214214pub const MAP_HUGETLB : :: c_int = 0x040000 ;
215215pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
216+ pub const MAP_SYNC : :: c_int = 0x080000 ;
216217
217218pub const SOL_SOCKET : :: c_int = 1 ;
218219
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
245245pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
246246pub const MAP_STACK : :: c_int = 0x020000 ;
247247pub const MAP_HUGETLB : :: c_int = 0x040000 ;
248+ pub const MAP_SYNC : :: c_int = 0x080000 ;
248249
249250pub const EDEADLK : :: c_int = 78 ;
250251pub 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;
416416pub const MAP_STACK : :: c_int = 0x020000 ;
417417pub const MAP_HUGETLB : :: c_int = 0x040000 ;
418418pub const MAP_GROWSDOWN : :: c_int = 0x0100 ;
419+ pub const MAP_SYNC : :: c_int = 0x080000 ;
419420
420421pub const EDEADLOCK : :: c_int = 35 ;
421422pub 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;
533533pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
534534pub const MAP_STACK : :: c_int = 0x020000 ;
535535pub const MAP_HUGETLB : :: c_int = 0x040000 ;
536+ pub const MAP_SYNC : :: c_int = 0x080000 ;
536537
537538pub const EDEADLOCK : :: c_int = 35 ;
538539
Original file line number Diff line number Diff line change @@ -544,6 +544,7 @@ pub const O_DIRECT: ::c_int = 0x20000;
544544
545545pub const MAP_LOCKED : :: c_int = 0x00080 ;
546546pub const MAP_NORESERVE : :: c_int = 0x00040 ;
547+ pub const MAP_SYNC : :: c_int = 0x080000 ;
547548
548549pub const EDEADLOCK : :: c_int = 58 ;
549550pub 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;
474474pub const MAP_POPULATE : :: c_int = 32768 ;
475475pub const MAP_NONBLOCK : :: c_int = 65536 ;
476476pub const MAP_STACK : :: c_int = 131072 ;
477+ pub const MAP_SYNC : :: c_int = 0x080000 ;
477478pub const EDEADLOCK : :: c_int = 35 ;
478479pub const EUCLEAN : :: c_int = 117 ;
479480pub 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;
247247pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
248248pub const MAP_STACK : :: c_int = 0x020000 ;
249249pub const MAP_HUGETLB : :: c_int = 0x040000 ;
250+ pub const MAP_SYNC : :: c_int = 0x080000 ;
250251
251252pub const EDEADLK : :: c_int = 78 ;
252253pub 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;
701701pub const MAP_POPULATE : :: c_int = 0x08000 ;
702702pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
703703pub const MAP_STACK : :: c_int = 0x020000 ;
704+ pub const MAP_SYNC : :: c_int = 0x080000 ;
704705
705706pub const EDEADLOCK : :: c_int = 35 ;
706707pub 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;
23102310pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
23112311
23122312// 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 ;
23152313pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
23162314
23172315// uapi/linux/vm_sockets.h
You can’t perform that action at this time.
0 commit comments