summaryrefslogtreecommitdiff
path: root/mem.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-05 19:31:55 +0100
committerDmitry V. Levin <ldv@altlinux.org>2013-02-05 19:07:41 +0000
commit21ceeb487981dbb09dd82023d28459234ccd25f8 (patch)
tree82657fe8af58feec79fe8a5931608ae28e7d3176 /mem.c
parentddba73e4c01e8867886d56c508af2c33cc87dc49 (diff)
downloadstrace-21ceeb487981dbb09dd82023d28459234ccd25f8.tar.gz
strace-21ceeb487981dbb09dd82023d28459234ccd25f8.tar.bz2
strace-21ceeb487981dbb09dd82023d28459234ccd25f8.tar.xz
mmap: decode MAP_UNINITIALIZED
* mem.c (mmap_flags): Add MAP_UNINITIALIZED. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'mem.c')
-rw-r--r--mem.c3
1 files changed, 3 insertions, 0 deletions
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