diff options
author | Richard Henderson | 2022-01-04 20:00:35 +0100 |
---|---|---|
committer | Richard Henderson | 2022-01-05 00:41:03 +0100 |
commit | d7478d4229f0a2b2817a55487e6b17081099fae4 (patch) | |
tree | ca20b264e8da395cfec86b0b37ea329c656e252f /linux-user/strace.c | |
parent | sysemu: Cleanup qemu_run_machine_init_done_notifiers() (diff) | |
download | qemu-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