mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 22:31:58 +00:00
add MAP_NORESERVE to bits/mman.h
this is needed for qemu, and since it differs for each arch it can't be circumvented easily by using a macro in CFLAGS.
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
#define MAP_ANON 0x20
|
#define MAP_ANON 0x20
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#define MAP_32BIT 0x40
|
#define MAP_32BIT 0x40
|
||||||
|
#define MAP_NORESERVE 0x4000
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#define MAP_ANON 0x20
|
#define MAP_ANON 0x20
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#define MAP_32BIT 0x40
|
#define MAP_32BIT 0x40
|
||||||
|
#define MAP_NORESERVE 0x4000
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#define MAP_ANON 0x20
|
#define MAP_ANON 0x20
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#define MAP_32BIT 0x40
|
#define MAP_32BIT 0x40
|
||||||
|
#define MAP_NORESERVE 0x4000
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
#define MAP_FILE 0x00
|
#define MAP_FILE 0x00
|
||||||
#define MAP_ANON 0x800
|
#define MAP_ANON 0x800
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
|
#define MAP_NORESERVE 0x0400
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#define MAP_ANON 0x20
|
#define MAP_ANON 0x20
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#define MAP_32BIT 0x40
|
#define MAP_32BIT 0x40
|
||||||
|
#define MAP_NORESERVE 0x40
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#define MAP_ANON 0x20
|
#define MAP_ANON 0x20
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#define MAP_32BIT 0x40
|
#define MAP_32BIT 0x40
|
||||||
|
#define MAP_NORESERVE 0x4000
|
||||||
|
|
||||||
#define POSIX_MADV_NORMAL 0
|
#define POSIX_MADV_NORMAL 0
|
||||||
#define POSIX_MADV_RANDOM 1
|
#define POSIX_MADV_RANDOM 1
|
||||||
|
Reference in New Issue
Block a user