Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/2] Fix generate_arch.sh and update syscalls to v7.3-rc5
@ 2026-09-30  8:32 Andrea Cervesato
  2026-09-30  8:32 ` [LTP] [PATCH 1/2] generate_arch.sh: Fix syscall extraction bugs Andrea Cervesato
  2026-09-30  8:32 ` [LTP] [PATCH 2/2] syscalls: Update numbers to Linux v7.3-rc5 Andrea Cervesato
  0 siblings, 2 replies; 8+ messages in thread
From: Andrea Cervesato @ 2026-09-30  8:32 UTC (permalink / raw)
  To: Linux Test Project

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>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-30 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30  8:32 [LTP] [PATCH 0/2] Fix generate_arch.sh and update syscalls to v7.3-rc5 Andrea Cervesato
2026-09-30  8:32 ` [LTP] [PATCH 1/2] generate_arch.sh: Fix syscall extraction bugs Andrea Cervesato
2026-09-30 15:02   ` [LTP] " linuxtestproject.agent
2026-09-30 15:28   ` [LTP] [PATCH 1/2] " Petr Vorel
2026-09-30  8:32 ` [LTP] [PATCH 2/2] syscalls: Update numbers to Linux v7.3-rc5 Andrea Cervesato
2026-09-30 14:41   ` Petr Vorel
2026-09-30 14:48     ` Andrea Cervesato via ltp
2026-09-30 14:48       ` Andrea Cervesato via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox