qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] linux-user: Fix strace output for s390x mmap()


From: Richard Henderson
Subject: Re: [PATCH v2] linux-user: Fix strace output for s390x mmap()
Date: Fri, 22 Nov 2024 14:19:03 -0600
User-agent: Mozilla Thunderbird

On 11/20/24 15:26, Ilya Leoshkevich wrote:
print_mmap() assumes that mmap() receives arguments via memory if
mmap2() is present. s390x (as opposed to s390) does not fit this
pattern: it does not have mmap2(), but mmap() still receives arguments
via memory.

Fix by sharing the detection logic between syscall.c and strace.c.

Cc: qemu-stable@nongnu.org
Fixes: d971040c2d16 ("linux-user: Fix strace output for old_mmap")
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
---

v1: 
https://lore.kernel.org/qemu-devel/20241119211138.148806-1-iii@linux.ibm.com/
v1 -> v2: Share the detection logic between syscall.c and strace.c
           (Richard).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

and queued.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]