Re: [PATCH] linux-user: fix guest/host address mixup in i386 setup_rt_frame()

2021-08-05 Thread Laurent Vivier
Le 03/08/2021 à 19:18, Ilya Leoshkevich a écrit : > setup_rt_frame() passes siginfo and ucontext host addresses to guest > signal handlers, causing problems when e.g. emulating x86_64 on s390x. > > Signed-off-by: Ilya Leoshkevich > --- > linux-user/i386/signal.c | 8 > 1 file changed, 4

Re: [PATCH] linux-user: fix guest/host address mixup in i386 setup_rt_frame()

2021-08-03 Thread Richard Henderson
On 8/3/21 7:18 AM, Ilya Leoshkevich wrote: setup_rt_frame() passes siginfo and ucontext host addresses to guest signal handlers, causing problems when e.g. emulating x86_64 on s390x. Signed-off-by: Ilya Leoshkevich --- linux-user/i386/signal.c | 8 1 file changed, 4 insertions(+), 4

[PATCH] linux-user: fix guest/host address mixup in i386 setup_rt_frame()

2021-08-03 Thread Ilya Leoshkevich
setup_rt_frame() passes siginfo and ucontext host addresses to guest signal handlers, causing problems when e.g. emulating x86_64 on s390x. Signed-off-by: Ilya Leoshkevich --- linux-user/i386/signal.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-user/i386/sig