summaryrefslogtreecommitdiff
path: root/arch/mips/include/uapi/asm/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/uapi/asm/mman.h')
-rw-r--r--arch/mips/include/uapi/asm/mman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/mman.h b/arch/mips/include/uapi/asm/mman.h
index 398eebcc3541..da3216007fe0 100644
--- a/arch/mips/include/uapi/asm/mman.h
+++ b/arch/mips/include/uapi/asm/mman.h
@@ -91,6 +91,9 @@
overrides the coredump filter bits */
#define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */
+#define MADV_WIPEONFORK 18 /* Zero memory on fork, child only */
+#define MADV_KEEPONFORK 19 /* Undo MADV_WIPEONFORK */
+
/* compatibility flags */
#define MAP_FILE 0