[PULL 06/22] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace

Laurent Vivier posted 22 patches 1 year, 7 months ago
There is a newer version of this series
[PULL 06/22] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
Posted by Laurent Vivier 1 year, 7 months ago
From: Helge Deller <deller@gmx.de>

Add two missing mmap flags.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Message-Id: <Y5iiED4PpnGAHpyz@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/strace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux-user/strace.c b/linux-user/strace.c
index 7bccb4f0c067..5027289bdde4 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -1057,6 +1057,8 @@ UNUSED static const struct flags mmap_flags[] = {
 #ifdef TARGET_MAP_UNINITIALIZED
     FLAG_TARGET(MAP_UNINITIALIZED),
 #endif
+    FLAG_TARGET(MAP_HUGETLB),
+    FLAG_TARGET(MAP_STACK),
     FLAG_END,
 };
 
-- 
2.39.1