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.
This commit is contained in:
Kyle Evans 2019-09-29 03:26:29 +00:00
parent 0ddc94d67b
commit 9a92921469

View File

@ -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