svn commit: r352864 - head/sys/sys
Kyle Evans
kevans at FreeBSD.org
Sun Sep 29 03:26:29 UTC 2019
Author: kevans
Date: Sun Sep 29 03:26:29 2019
New Revision: 352864
URL: https://svnweb.freebsd.org/changeset/base/352864
Log:
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.
Modified:
head/sys/sys/mman.h
Modified: head/sys/sys/mman.h
==============================================================================
--- head/sys/sys/mman.h Sun Sep 29 03:12:35 2019 (r352863)
+++ head/sys/sys/mman.h Sun Sep 29 03:26:29 2019 (r352864)
@@ -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
More information about the svn-src-all
mailing list