[PATCHv2 1/2] mmap: decode MAP_UNINITIALIZED
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Feb 5 18:31:55 UTC 2013
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
mem.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mem.c b/mem.c
index 3139904..deefff3 100644
--- a/mem.c
+++ b/mem.c
@@ -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
--
1.7.10.4
More information about the Strace-devel
mailing list