mmap: decode MAP_UNINITIALIZED

* mem.c (mmap_flags): Add MAP_UNINITIALIZED.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
Bernhard Reutner-Fischer 2013-02-05 19:31:55 +01:00 committed by Dmitry V. Levin
parent ddba73e4c0
commit 21ceeb4879

3
mem.c
View File

@ -159,6 +159,9 @@ static const struct xlat mmap_flags[] = {
#ifdef MAP_STACK
{ MAP_STACK, "MAP_STACK" },
#endif
#if defined MAP_UNINITIALIZED && MAP_UNINITIALIZED > 0
{ MAP_UNINITIALIZED,"MAP_UNINITIALIZED"},
#endif
#ifdef MAP_NOSYNC
{ MAP_NOSYNC, "MAP_NOSYNC" },
#endif