diff options
author | Szabolcs Nagy <nsz@port70.net> | 2018-06-09 20:39:35 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-06-19 13:26:00 -0400 |
commit | 156a3bedb22b38bc771b755700dca0cab9d1a787 (patch) | |
tree | 27dd548203cbd6b433e0c07557d24b3b08be55ae /include/sys | |
parent | 90ac71d853d4ed9786ef8bed4f6ef77703d681a3 (diff) | |
download | musl-156a3bedb22b38bc771b755700dca0cab9d1a787.tar.gz musl-156a3bedb22b38bc771b755700dca0cab9d1a787.tar.bz2 musl-156a3bedb22b38bc771b755700dca0cab9d1a787.tar.xz musl-156a3bedb22b38bc771b755700dca0cab9d1a787.zip |
add MAP_FIXED_NOREPLACE from linux v4.17
to map at a fixed address without unmapping underlying mappings
(fails with EEXIST unlike MAP_FIXED), new in linux commits
4ed28639519c7bad5f518e70b3284c6e0763e650 and
a4ff8e8620d3f4f50ac4b41e8067b7d395056843.
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/mman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 302ad134..19dd844e 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -35,6 +35,7 @@ extern "C" { #define MAP_STACK 0x20000 #define MAP_HUGETLB 0x40000 #define MAP_SYNC 0x80000 +#define MAP_FIXED_NOREPLACE 0x100000 #define MAP_FILE 0 #define MAP_HUGE_SHIFT 26 |