[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user |
Date: |
Tue, 14 Dec 2021 14:13:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/14/21 01:26, Richard Henderson wrote:
> Move linux-user safe-syscall.S and safe-syscall-error.c to common-user
> so that bsd-user can also use it. Also move safe-syscall.h to
> include/user/. Since there is nothing here that is related to the guest,
> as opposed to the host, build it once.
>
> Reviewed-by: Warner Losh <imp@bsdimp.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> meson.build | 18 +++++++++++++++++-
> {linux-user => include/user}/safe-syscall.h | 0
> .../safe-syscall-error.c | 2 +-
> linux-user/signal.c | 2 +-
> linux-user/syscall.c | 2 +-
> MAINTAINERS | 2 ++
> bsd-user/meson.build | 2 ++
> .../host/aarch64/safe-syscall.inc.S | 2 +-
> .../host/arm/safe-syscall.inc.S | 2 +-
> .../host/i386/safe-syscall.inc.S | 2 +-
> .../host/mips/safe-syscall.inc.S | 2 +-
> .../host/ppc64/safe-syscall.inc.S | 2 +-
> .../host/riscv/safe-syscall.inc.S | 2 +-
> .../host/s390x/safe-syscall.inc.S | 2 +-
> .../host/sparc64/safe-syscall.inc.S | 2 +-
> .../host/x86_64/safe-syscall.inc.S | 2 +-
> common-user/meson.build | 6 ++++++
> {linux-user => common-user}/safe-syscall.S | 0
> linux-user/meson.build | 5 +++--
> 19 files changed, 42 insertions(+), 15 deletions(-)
> rename {linux-user => include/user}/safe-syscall.h (100%)
> rename {linux-user => common-user}/safe-syscall-error.c (95%)
> rename {linux-user => common-user}/host/aarch64/safe-syscall.inc.S (97%)
> rename {linux-user => common-user}/host/arm/safe-syscall.inc.S (98%)
> rename {linux-user => common-user}/host/i386/safe-syscall.inc.S (98%)
> rename {linux-user => common-user}/host/mips/safe-syscall.inc.S (98%)
> rename {linux-user => common-user}/host/ppc64/safe-syscall.inc.S (98%)
> rename {linux-user => common-user}/host/riscv/safe-syscall.inc.S (97%)
> rename {linux-user => common-user}/host/s390x/safe-syscall.inc.S (98%)
> rename {linux-user => common-user}/host/sparc64/safe-syscall.inc.S (97%)
> rename {linux-user => common-user}/host/x86_64/safe-syscall.inc.S (98%)
> create mode 100644 common-user/meson.build
> rename {linux-user => common-user}/safe-syscall.S (100%)
Nice!
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- Re: [PATCH v7 04/15] linux-user/host/sparc64: Add safe-syscall.inc.S, (continued)
- [PATCH v7 06/15] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/12/13
- [PATCH v7 05/15] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, Richard Henderson, 2021/12/13
- [PATCH v7 08/15] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN, Richard Henderson, 2021/12/13
- [PATCH v7 10/15] bsd-user: Create special-errno.h, Richard Henderson, 2021/12/13
- [PATCH v7 12/15] common-user: Adjust system call return on FreeBSD, Richard Henderson, 2021/12/13
- [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user, Richard Henderson, 2021/12/13
- Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user,
Philippe Mathieu-Daudé <=
- [PATCH v7 14/15] meson: Move linux_user_ss to linux-user/, Richard Henderson, 2021/12/13
- [PATCH v7 09/15] linux-user: Create special-errno.h, Richard Henderson, 2021/12/13
- [PATCH v7 13/15] linux-user: Move thunk.c from top-level, Richard Henderson, 2021/12/13
- [PATCH v7 15/15] meson: Move bsd_user_ss to bsd-user/, Richard Henderson, 2021/12/13
- Re: [PATCH v7 00/15] linux-user: simplify safe signal handling, WANG Xuerui, 2021/12/14