[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/2] linux-user: generate syscall_nr.sh for RISC-V
From: |
Alistair Francis |
Subject: |
[PATCH v3 0/2] linux-user: generate syscall_nr.sh for RISC-V |
Date: |
Wed, 26 Feb 2020 13:26:41 -0800 |
This series updates the RISC-V syscall_nr.sh based on the 5.5 kernel.
There are two parts to this. One is just adding the new syscalls, the
other part is updating the RV32 syscalls to match the fact that RV32 is
a 64-bit time_t architectures (y2038) safe.
we need to make some changes to syscall.c to avoid warnings/errors
during compliling with the new syscall.
I did some RV32 user space testing after applying these patches. I ran the
glibc testsuite in userspace and I don't see any regressions.
v3:
- Fix RV32 syscalls
- Fix #if around safe_wait4
Alistair Francis (2):
linux-user: Protect more syscalls
linux-user/riscv: Update the syscall_nr's to the 5.5 kernel
linux-user/riscv/syscall32_nr.h | 314 ++++++++++++++++++++++++++++++++
linux-user/riscv/syscall64_nr.h | 301 ++++++++++++++++++++++++++++++
linux-user/riscv/syscall_nr.h | 294 +-----------------------------
linux-user/strace.c | 2 +
linux-user/syscall.c | 20 ++
5 files changed, 639 insertions(+), 292 deletions(-)
create mode 100644 linux-user/riscv/syscall32_nr.h
create mode 100644 linux-user/riscv/syscall64_nr.h
--
2.25.0
- [PATCH v3 0/2] linux-user: generate syscall_nr.sh for RISC-V,
Alistair Francis <=