mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Add MFD_NOEXEC_SEAL, MFD_EXEC from Linux 6.3 to bits/mman-shared.h
Linux 6.3 adds new constants MFD_NOEXEC_SEAL and MFD_EXEC. Add these to bits/mman-shared.h (conditional on MFD_NOEXEC_SEAL not already being defined, similar to the existing conditional on the older MFD_* macros). Tested for x86_64.
This commit is contained in:
parent
a33c211b11
commit
9a51f4e2b6
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@
|
|||
# define MFD_ALLOW_SEALING 2U
|
||||
# define MFD_HUGETLB 4U
|
||||
# endif
|
||||
# ifndef MFD_NOEXEC_SEAL
|
||||
# define MFD_NOEXEC_SEAL 8U
|
||||
# define MFD_EXEC 0x10U
|
||||
# endif
|
||||
|
||||
/* Flags for mlock2. */
|
||||
# ifndef MLOCK_ONFAULT
|
||||
|
|
Loading…
Add table
Reference in a new issue