missing: add memfd related definitions to missing_mman.h

This commit is contained in:
Yu Watanabe
2018-12-06 13:25:24 +01:00
parent d7330b60a9
commit c8a363eb15
3 changed files with 14 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <sys/mman.h>
#ifndef MFD_ALLOW_SEALING
#define MFD_ALLOW_SEALING 0x0002U
#endif
#ifndef MFD_CLOEXEC
#define MFD_CLOEXEC 0x0001U
#endif