From: Helge Deller Date: Tue, 13 Dec 2022 16:02:24 +0000 (+0100) Subject: linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2c649e5b5b334b0b2598f6213130dd71d1c0df8;p=qemu.git linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace Add two missing mmap flags. Signed-off-by: Helge Deller Reviewed-by: Laurent Vivier Message-Id: Signed-off-by: Laurent Vivier --- 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, };