diff options
author | Szabolcs Nagy <nsz@port70.net> | 2017-11-26 21:54:30 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-22 18:45:31 -0500 |
commit | 5431c200402bf0b5a061c585c0b76c099e45a418 (patch) | |
tree | 430d64934a356f61d17e6e257430fba9836c6e5c /include/sys | |
parent | 986bc21713b1c9b38d37356033c02aec188333bf (diff) | |
download | musl-5431c200402bf0b5a061c585c0b76c099e45a418.tar.gz musl-5431c200402bf0b5a061c585c0b76c099e45a418.tar.xz musl-5431c200402bf0b5a061c585c0b76c099e45a418.zip |
sys/mman.h: add MADV_WIPEONFORK from linux v4.14
allows zeroing anonymous private pages inherited by a child process. new in linux commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/mman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 8a5149c9..12318782 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -72,6 +72,8 @@ extern "C" { #define MADV_NOHUGEPAGE 15 #define MADV_DONTDUMP 16 #define MADV_DODUMP 17 +#define MADV_WIPEONFORK 18 +#define MADV_KEEPONFORK 19 #define MADV_HWPOISON 100 #define MADV_SOFT_OFFLINE 101 #endif |