summaryrefslogtreecommitdiff
path: root/linux-headers/linux/mman.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-05-16 19:10:36 +0200
committerCornelia Huck <cohuck@redhat.com>2019-05-21 16:58:56 +0200
commitd9cb4336159a00bd0d9c81b93f02874ef3626057 (patch)
tree6dfe5b09d5793559c20bcfd0729560e33150ad9c /linux-headers/linux/mman.h
parentb1b9e0dc78a8e98704c2ff255b3b18aed44e8d78 (diff)
downloadqemu-d9cb4336159a00bd0d9c81b93f02874ef3626057.zip
linux headers: update against Linux 5.2-rc1
commit a188339ca5a396acc588e5851ed7e19f66b0ebd9 Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-headers/linux/mman.h')
-rw-r--r--linux-headers/linux/mman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-headers/linux/mman.h b/linux-headers/linux/mman.h
index 3c44b6f480..1f6e2cd89c 100644
--- a/linux-headers/linux/mman.h
+++ b/linux-headers/linux/mman.h
@@ -12,6 +12,10 @@
#define OVERCOMMIT_ALWAYS 1
#define OVERCOMMIT_NEVER 2
+#define MAP_SHARED 0x01 /* Share changes */
+#define MAP_PRIVATE 0x02 /* Changes are private */
+#define MAP_SHARED_VALIDATE 0x03 /* share + validate extension flags */
+
/*
* Huge page size encoding when MAP_HUGETLB is specified, and a huge page
* size other than the default is desired. See hugetlb_encode.h.