mirror of
git://git.musl-libc.org/musl
synced 2025-03-11 06:07:29 +00:00
for synchronous page faults, new in linux commit 1c9725974074a047f6080eecc62c50a8e840d050 and b6fb293f2497a9841d94f6b57bd2bb2cd222da43 note that only targets that use asm-generic/mman.h have this new flag defined, so undef it on other targets (mips*, powerpc*).
15 lines
287 B
C
15 lines
287 B
C
#define PROT_SAO 0x10
|
|
|
|
#undef MAP_NORESERVE
|
|
#define MAP_NORESERVE 0x40
|
|
#undef MAP_LOCKED
|
|
#define MAP_LOCKED 0x80
|
|
#undef MAP_SYNC
|
|
|
|
#undef MCL_CURRENT
|
|
#define MCL_CURRENT 0x2000
|
|
#undef MCL_FUTURE
|
|
#define MCL_FUTURE 0x4000
|
|
#undef MCL_ONFAULT
|
|
#define MCL_ONFAULT 0x8000
|