From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id C4AE7385C313; Mon, 11 Jul 2022 11:50:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4AE7385C313 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] MFD_*: swap ordering X-Act-Checkin: newlib-cygwin X-Git-Author: Kyle Evans X-Git-Refname: refs/heads/master X-Git-Oldrev: 53648039c4efa32941bf567f9d0ab2f4c012cc4d X-Git-Newrev: 1ef7e3904de8bdf080ae63496d7c0c4be928e8b6 Message-Id: <20220711115053.C4AE7385C313@sourceware.org> Date: Mon, 11 Jul 2022 11:50:53 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:50:53 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D1ef7e3904de= 8bdf080ae63496d7c0c4be928e8b6 commit 1ef7e3904de8bdf080ae63496d7c0c4be928e8b6 Author: Kyle Evans Date: Sun Sep 29 03:26:29 2019 +0000 MFD_*: swap ordering =20 This API is still young enough that I would expect no one to be dependa= nt on this yet... Swap the ordering while it's young to match Linux values to potentially ease implementation of linuxolator syscall, being able to r= euse existing constants. Diff: --- 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/rte= ms/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 =20 /* UNSUPPORTED */ #define MFD_HUGETLB 0x00000004