missing: add memfd related definitions to missing_mman.h
This commit is contained in:
parent
d7330b60a9
commit
c8a363eb15
|
@ -105,6 +105,7 @@ basic_sources = files('''
|
|||
missing_input.h
|
||||
missing_keyctl.h
|
||||
missing_magic.h
|
||||
missing_mman.h
|
||||
missing_network.h
|
||||
missing_prctl.h
|
||||
missing_resource.h
|
||||
|
|
|
@ -9,14 +9,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#ifndef MFD_ALLOW_SEALING
|
||||
#define MFD_ALLOW_SEALING 0x0002U
|
||||
#endif
|
||||
|
||||
#ifndef MFD_CLOEXEC
|
||||
#define MFD_CLOEXEC 0x0001U
|
||||
#endif
|
||||
|
||||
#ifndef TIOCVHANGUP
|
||||
#define TIOCVHANGUP 0x5437
|
||||
#endif
|
||||
|
@ -142,6 +134,7 @@
|
|||
#include "missing_fcntl.h"
|
||||
#include "missing_input.h"
|
||||
#include "missing_magic.h"
|
||||
#include "missing_mman.h"
|
||||
#include "missing_network.h"
|
||||
#include "missing_prctl.h"
|
||||
#include "missing_resource.h"
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue