[PATCH v3 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-11 Thread riel
v3: simplify implementation, limit to anonymous, private mappings v2: fix kbuild warnings Remaining question: should this be under madvise (like MADV_DONTDUMP, MADV_DONTFORK, etc) or should we implement an minherit syscall? Linus? Introduce MADV_WIPEONFORK semantics, which result in a VMA being

[PATCH v3 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-11 Thread riel
v3: simplify implementation, limit to anonymous, private mappings v2: fix kbuild warnings Remaining question: should this be under madvise (like MADV_DONTDUMP, MADV_DONTFORK, etc) or should we implement an minherit syscall? Linus? Introduce MADV_WIPEONFORK semantics, which result in a VMA being