summaryrefslogtreecommitdiffstats
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorRichard Henderson2022-01-04 20:00:35 +0100
committerRichard Henderson2022-01-05 00:41:03 +0100
commitd7478d4229f0a2b2817a55487e6b17081099fae4 (patch)
treeca20b264e8da395cfec86b0b37ea329c656e252f /linux-user/strace.c
parentsysemu: Cleanup qemu_run_machine_init_done_notifiers() (diff)
downloadqemu-d7478d4229f0a2b2817a55487e6b17081099fae4.tar.gz
qemu-d7478d4229f0a2b2817a55487e6b17081099fae4.tar.xz
qemu-d7478d4229f0a2b2817a55487e6b17081099fae4.zip
common-user: Fix tail calls to safe_syscall_set_errno_tail
For the ABIs in which the syscall return register is not also the first function argument register, move the errno value into the correct place. Fixes: a3310c0397e2 ("linux-user: Move syscall error detection into safe_syscall_base") Reported-by: Laurent Vivier <laurent@vivier.eu> Tested-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220104190454.542225-1-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/strace.c')
0 files changed, 0 insertions, 0 deletions