[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail |
|
Date: |
Tue, 4 Jan 2022 20:17:56 +0100 |
On Tue, Jan 4, 2022 at 8:05 PM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> 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
Using Laurent alias [*]:
Fixes: a3310c0397e ("linux-user: Move syscall error detection into
safe_syscall_base")
[*]
https://lore.kernel.org/qemu-devel/6c69b3b6-f1f0-da38-d47a-dba01e33bd6a@redhat.com/
> Reported-by: Laurent Vivier <laurent@vivier.eu>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> common-user/host/i386/safe-syscall.inc.S | 1 +
> common-user/host/mips/safe-syscall.inc.S | 1 +
> common-user/host/x86_64/safe-syscall.inc.S | 1 +
> 3 files changed, 3 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>