[newlib 10/65] MFD_*: swap ordering
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jul 7 11:58:17 UTC 2022
From: Kyle Evans <kevans at FreeBSD.org>
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.
---
newlib/libc/sys/rtems/include/sys/mman.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/libc/sys/rtems/include/sys/mman.h b/newlib/libc/sys/rtems/include/sys/mman.h
index 89cc4d699..c68efcc15 100644
--- a/newlib/libc/sys/rtems/include/sys/mman.h
+++ b/newlib/libc/sys/rtems/include/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
--
2.35.3
More information about the devel
mailing list