[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 8/9] common-user: Adjust system call return on FreeBSD
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 8/9] common-user: Adjust system call return on FreeBSD |
Date: |
Wed, 17 Nov 2021 09:23:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
On 11/16/21 12:02, Richard Henderson wrote:
> From: Warner Losh <imp@bsdimp.com>
>
> FreeBSD system calls return positive errno. On the 4 hosts for
> which we have support, error is indicated by the C bit set or clear.
>
> Signed-off-by: Warner Losh <imp@bsdimp.com>
> [rth: Rebase on new safe_syscall_base api; add #error check.]
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> common-user/host/aarch64/safe-syscall.inc.S | 12 +++++++++++-
> common-user/host/arm/safe-syscall.inc.S | 11 +++++++++++
Can we split this in 2 patches?
> common-user/host/i386/safe-syscall.inc.S | 10 ++++++++++
> common-user/host/x86_64/safe-syscall.inc.S | 10 ++++++++++
> 4 files changed, 42 insertions(+), 1 deletion(-)
- [PATCH v4 4/9] common-user: Move syscall error detection into safe_syscall_base, (continued)
- [PATCH v4 4/9] common-user: Move syscall error detection into safe_syscall_base, Richard Henderson, 2021/11/16
- [PATCH v4 6/9] common-user/host/sparc64: Add safe-syscall.inc.S, Richard Henderson, 2021/11/16
- [PATCH v4 9/9] common-user: Move safe-syscall.* from *-user, Richard Henderson, 2021/11/16
- [PATCH v4 7/9] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, Richard Henderson, 2021/11/16
- [PATCH v4 5/9] common-user/host/mips: Add safe-syscall.inc.S, Richard Henderson, 2021/11/16
- [PATCH v4 8/9] common-user: Adjust system call return on FreeBSD, Richard Henderson, 2021/11/16
- Re: [PATCH v4 0/9] linux-user: simplify safe signal handling, Warner Losh, 2021/11/16