qemu-devel
[Top][All Lists]
Advanced

[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: Laurent Vivier
Subject: Re: [PATCH] common-user: Fix tail calls to safe_syscall_set_errno_tail
Date: Tue, 4 Jan 2022 21:16:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

Le 04/01/2022 à 20:04, Richard Henderson a écrit :
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
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(+)

Tested-by: Laurent Vivier <laurent@vivier.eu>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]