summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2021-03-24 19:51:28 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-03-25 20:55:07 +0100
commit23fff7a17f47420797ac6480147941612152a9ad (patch)
tree7680122bb4901ffb6ea9efab43562970290bb5bf /linux-user/syscall.c
parent9e2e9fe3df9f539f8b6941ceb96d25355fdae47e (diff)
downloadfocaccia-qemu-23fff7a17f47420797ac6480147941612152a9ad.tar.gz
focaccia-qemu-23fff7a17f47420797ac6480147941612152a9ad.zip
linux-user/s390x: Use the guest pointer for the sigreturn stub
When setting up the pointer for the sigreturn stub in the return
address register (r14) we currently use the host frame address instead
of the guest frame address.

Note: This only caused problems if Qemu has been built with
--disable-pie (as it is in distros nowadays). Otherwise guest_base
defaults to 0 hiding the actual problem.

Signed-off-by: Andreas Krebbel <krebbel@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210324185128.63971-1-krebbel@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions