aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-12-13 17:02:24 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-02-03 22:55:12 +0100
commite2c649e5b5b334b0b2598f6213130dd71d1c0df8 (patch)
treec2c5e2c2e8ec144e1d39c5110f31c9f88c525b07 /linux-user
parent55bbe4d5ee52e77951dda62b08e37cd0dd8ddb5b (diff)
linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
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>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/strace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 7bccb4f0c0..5027289bdd 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,
};