aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mman.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-09-29 03:26:29 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-09-29 03:26:29 +0000
commit9a92921469bac67ff2d2db1cfd53370c0793120f (patch)
tree8c0c219a8eeadf31aa28d371ab7bbd6372e50401 /sys/sys/mman.h
parent0ddc94d67b4a51c2b6a438a28a95c8e59eb29056 (diff)
downloadsrc-9a92921469bac67ff2d2db1cfd53370c0793120f.tar.gz
src-9a92921469bac67ff2d2db1cfd53370c0793120f.zip
MFD_*: swap ordering
This API is still young enough that I would expect no one to be dependant on this yet... Swap the ordering while it's young to match Linux values to potentially ease implementation of linuxolator syscall, being able to reuse existing constants.
Notes
Notes: svn path=/head/; revision=352864
Diffstat (limited to 'sys/sys/mman.h')
-rw-r--r--sys/sys/mman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index b0776c0556df..7542a1812831 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -193,8 +193,8 @@
/*
* Flags for memfd_create().
*/
-#define MFD_ALLOW_SEALING 0x00000001
-#define MFD_CLOEXEC 0x00000002
+#define MFD_CLOEXEC 0x00000001
+#define MFD_ALLOW_SEALING 0x00000002
/* UNSUPPORTED */
#define MFD_HUGETLB 0x00000004