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 committed by Sebastian Huber
parent 53648039c4
commit 1ef7e3904d
1 changed files with 2 additions and 2 deletions

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