]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/asm-s390/mman.h
[PATCH] madvise MADV_DONTFORK/MADV_DOFORK
[mirror_ubuntu-bionic-kernel.git] / include / asm-s390 / mman.h
index c8d5409b5d563c383e9fa4f8378504b41c992473..d41ca1477010b9691e7d2150a0e8872948a5d0f2 100644 (file)
@@ -44,6 +44,8 @@
 #define MADV_WILLNEED  0x3              /* pre-fault pages */
 #define MADV_DONTNEED  0x4              /* discard these pages */
 #define MADV_REMOVE    0x5             /* remove these pages & resources */
+#define MADV_DONTFORK  0x30            /* dont inherit across fork */
+#define MADV_DOFORK    0x31            /* do inherit across fork */
 
 /* compatibility flags */
 #define MAP_ANON       MAP_ANONYMOUS