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

2024-11-20 Thread Richard Henderson
On 11/19/24 15:11, 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 special-casing s390x. Cc: qemu-

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

2024-11-19 Thread Ilya Leoshkevich
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 special-casing s390x. Cc: qemu-sta...@nongnu.org Fixes: d971040c2d16 ("linux