diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2019-09-29 03:26:29 +0000 |
|---|---|---|
| committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-11 11:52:46 +0200 |
| commit | 1ef7e3904de8bdf080ae63496d7c0c4be928e8b6 (patch) | |
| tree | 64e3b7afe0fccfbec701dc0c66336f53b76215fc | |
| parent | 53648039c4efa32941bf567f9d0ab2f4c012cc4d (diff) | |
| download | newlib-1ef7e3904de8bdf080ae63496d7c0c4be928e8b6.tar.gz newlib-1ef7e3904de8bdf080ae63496d7c0c4be928e8b6.tar.bz2 newlib-1ef7e3904de8bdf080ae63496d7c0c4be928e8b6.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.
| -rw-r--r-- | newlib/libc/sys/rtems/include/sys/mman.h | 4 |
1 files 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 |
