X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fi386%2Fbits%2Fmman.h;h=4083c19862107f980b737f1efdc69ff8802002cb;hb=20103616635a14441c5e04477e7913f6f9095735;hp=302044eb30c65dd40d681c520d73395d889ee611;hpb=b052f13cd1215cf444f16ccf14c96e32f61f73e0;p=musl diff --git a/arch/i386/bits/mman.h b/arch/i386/bits/mman.h index 302044eb..4083c198 100644 --- a/arch/i386/bits/mman.h +++ b/arch/i386/bits/mman.h @@ -16,6 +16,11 @@ #define MAP_ANON 0x20 #define MAP_ANONYMOUS MAP_ANON #define MAP_32BIT 0x40 +#define MAP_NORESERVE 0x4000 +#define MAP_GROWSDOWN 0x0100 +#define MAP_DENYWRITE 0x0800 +#define MAP_EXECUTABLE 0x1000 +#define MAP_LOCKED 0x2000 #define POSIX_MADV_NORMAL 0 #define POSIX_MADV_RANDOM 1 @@ -30,7 +35,7 @@ #define MCL_CURRENT 1 #define MCL_FUTURE 2 -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define MADV_NORMAL 0 #define MADV_RANDOM 1 #define MADV_SEQUENTIAL 2