[LTP] [PATCH 0/2] Fix generate_arch.sh and update syscalls to v7.3-rc5

Andrea Cervesato andrea.cervesato@suse.de
Wed Sep 30 10:32:33 CEST 2026


This series addresses the regressions observed when regenerating syscall
tables for Linux v7.3-rc5 [1].

The previous attempt to update syscall tables dropped legacy syscalls
such as _sysctl and timerfd, and overwrote 31-bit s390 definitions with
64-bit s390x values due to kernel changes introduced in v6.19.

Patch 1 fixes generate_arch.sh:
- Includes table entries marked sys_ni_syscall and seeds names from
  generic headers and existing tables to retain legacy definitions
  like _sysctl and timerfd.
- Detects whether the 31-bit ABI is actually exposed by s390 headers
  instead of blindly overwriting s390.in with 64-bit definitions.
- Avoids compiler flag leaks across architectures.
- Fails immediately if compilation fails for any supported architecture.

Patch 2 updates the architecture input tables to Linux v7.3-rc5 using the
fixed generator. This provides clone3 on SPARC (resolving tst_clone
failures reported by Anders [2]), uprobe on x86_64, and new generic
syscalls (listns, rseq_slice_yield, fchroot) while preserving existing
legacy entries.

[1] https://lore.kernel.org/ltp/20260929141659.2513510-1-pvorel@suse.cz/
[2] https://lore.kernel.org/ltp/20260929084253.3093742-1-anders.roxell@linaro.org/

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (2):
      generate_arch.sh: Fix syscall extraction bugs
      syscalls: Update numbers to Linux v7.3-rc5

 include/lapi/syscalls/arc.in           |  3 ++
 include/lapi/syscalls/arm.in           |  4 ++
 include/lapi/syscalls/arm64.in         |  3 ++
 include/lapi/syscalls/generate_arch.sh | 99 +++++++++++++++++-----------------
 include/lapi/syscalls/i386.in          |  6 +++
 include/lapi/syscalls/loongarch64.in   |  3 ++
 include/lapi/syscalls/mips64.in        |  3 ++
 include/lapi/syscalls/mips64n32.in     |  3 ++
 include/lapi/syscalls/mipso32.in       |  7 ++-
 include/lapi/syscalls/parisc.in        |  4 ++
 include/lapi/syscalls/powerpc.in       |  7 +++
 include/lapi/syscalls/powerpc64.in     |  7 +++
 include/lapi/syscalls/s390x.in         |  4 ++
 include/lapi/syscalls/sh.in            |  4 ++
 include/lapi/syscalls/sparc.in         |  5 ++
 include/lapi/syscalls/sparc64.in       |  5 ++
 include/lapi/syscalls/x86_64.in        |  4 ++
 17 files changed, 119 insertions(+), 52 deletions(-)
---
base-commit: 1cbe713ca9d55bed7e4d52c6f2216ba3e2089346
change-id: 20260930-fix_generate_syscalls-3692a6818a79

Best regards,
--  
Andrea Cervesato <andrea.cervesato@suse.com>



More information about the ltp mailing list