projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986bc21
)
sys/mman.h: add MADV_WIPEONFORK from linux v4.14
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 26 Nov 2017 21:54:30 +0000
(21:54 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 22 Feb 2018 23:45:31 +0000
(18:45 -0500)
allows zeroing anonymous private pages inherited by a child process.
new in linux commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19
include/sys/mman.h
patch
|
blob
|
history
diff --git
a/include/sys/mman.h
b/include/sys/mman.h
index 8a5149c980b3754e76fdb11dc0aaf720b1a95e63..1231878244751e552217f73e805a49135a6edbbd 100644
(file)
--- 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