public inbox for
help / color / mirror / Atom feed
* [newlib-cygwin] MFD_*: swap ordering
@ 2022-07-11 11:50 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-07-11 11:50 UTC (permalink / raw)
  To: newlib-cvs;h=1ef7e3904de8bdf080ae63496d7c0c4be928e8b6

commit 1ef7e3904de8bdf080ae63496d7c0c4be928e8b6
Author: Kyle Evans <>
Date:   Sun Sep 29 03:26:29 2019 +0000

    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.

 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
 #define	MFD_HUGETLB			0x00000004

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-11 11:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 11:50 [newlib-cygwin] MFD_*: swap ordering Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).