summaryrefslogtreecommitdiff
path: root/include/uapi/asm-generic/mman-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/asm-generic/mman-common.h')
-rw-r--r--include/uapi/asm-generic/mman-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/mman-common.h b/include/uapi/asm-generic/mman-common.h
index 6ce1f1ceb432..1ea2c4c33b86 100644
--- a/include/uapi/asm-generic/mman-common.h
+++ b/include/uapi/asm-generic/mman-common.h
@@ -79,6 +79,9 @@
#define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */
+#define MADV_GUARD_INSTALL 102 /* fatal signal on access to range */
+#define MADV_GUARD_REMOVE 103 /* unguard range */
+
/* compatibility flags */
#define MAP_FILE 0