* [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
@ 2022-12-13 16:02 Helge Deller
2023-01-25 13:14 ` Laurent Vivier
2023-01-25 13:19 ` Laurent Vivier
0 siblings, 2 replies; 3+ messages in thread
From: Helge Deller @ 2022-12-13 16:02 UTC (permalink / raw)
To: Laurent Vivier, Richard Henderson, qemu-devel
Add two missing mmap flags.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 8fa5c1ec3d..3ea91084fb 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = {
#ifdef TARGET_MAP_UNINITIALIZED
FLAG_TARGET(MAP_UNINITIALIZED),
#endif
+ FLAG_TARGET(MAP_HUGETLB),
+ FLAG_TARGET(MAP_STACK),
FLAG_END,
};
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
2022-12-13 16:02 [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace Helge Deller
@ 2023-01-25 13:14 ` Laurent Vivier
2023-01-25 13:19 ` Laurent Vivier
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2023-01-25 13:14 UTC (permalink / raw)
To: Helge Deller, Richard Henderson, qemu-devel
Le 13/12/2022 à 17:02, Helge Deller a écrit :
> Add two missing mmap flags.
>
> Signed-off-by: Helge Deller <deller@gmx.de>
>
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index 8fa5c1ec3d..3ea91084fb 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = {
> #ifdef TARGET_MAP_UNINITIALIZED
> FLAG_TARGET(MAP_UNINITIALIZED),
> #endif
> + FLAG_TARGET(MAP_HUGETLB),
> + FLAG_TARGET(MAP_STACK),
> FLAG_END,
> };
>
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
2022-12-13 16:02 [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace Helge Deller
2023-01-25 13:14 ` Laurent Vivier
@ 2023-01-25 13:19 ` Laurent Vivier
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2023-01-25 13:19 UTC (permalink / raw)
To: Helge Deller, Richard Henderson, qemu-devel
Le 13/12/2022 à 17:02, Helge Deller a écrit :
> Add two missing mmap flags.
>
> Signed-off-by: Helge Deller <deller@gmx.de>
>
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index 8fa5c1ec3d..3ea91084fb 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -1089,6 +1089,8 @@ UNUSED static struct flags mmap_flags[] = {
> #ifdef TARGET_MAP_UNINITIALIZED
> FLAG_TARGET(MAP_UNINITIALIZED),
> #endif
> + FLAG_TARGET(MAP_HUGETLB),
> + FLAG_TARGET(MAP_STACK),
> FLAG_END,
> };
>
>
Applied to my linux-user-for-8.0 branch.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-25 13:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 16:02 [PATCH] linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace Helge Deller
2023-01-25 13:14 ` Laurent Vivier
2023-01-25 13:19 ` Laurent Vivier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).