Code for anonymous mappings via mmap() or CreateFileMapping().
Using an anonymous mmap() is a good way to get pages that we can set kernel-level flags on, like minherit() or madvise() or mlock(). We're going to use that so that we can make uninheritable locked pages to store PRNG data.
src/lib/malloc/map_anon.c
0 → 100644
src/lib/malloc/map_anon.h
0 → 100644
Please register or sign in to comment