aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/memfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/memfd.h')
-rw-r--r--linux-headers/include/linux/memfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-headers/include/linux/memfd.h b/linux-headers/include/linux/memfd.h
index 39ed783..01c0324 100644
--- a/linux-headers/include/linux/memfd.h
+++ b/linux-headers/include/linux/memfd.h
@@ -8,6 +8,10 @@
#define MFD_CLOEXEC 0x0001U
#define MFD_ALLOW_SEALING 0x0002U
#define MFD_HUGETLB 0x0004U
+/* not executable and sealed to prevent changing to executable. */
+#define MFD_NOEXEC_SEAL 0x0008U
+/* executable */
+#define MFD_EXEC 0x0010U
/*
* Huge page size encoding when MFD_HUGETLB is specified, and a huge page