Skip to content

Fix generate_arch.sh and update syscalls to v7.3-rc5

Andrea Cervesato ltp 2 versions Applied

Status from this message: Merged, Thanks!

Get series with b4
b4 am [email protected] change-id 20260930-fix_generate_syscalls-3692a6818a79

Versions newest first

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- fixed as per Petr suggestions
- Link to v1: https://lore.kernel.org/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2generate_arch.sh: Fix syscall extraction bugsinclude/lapi/syscalls/generate_arch.sh+53 -500 replies
2/2syscalls: Update numbers to Linux v7.3-rc5include/lapi/syscalls/arc.in include/lapi/syscalls/arm.in include/lapi/syscalls/arm64.in +13 more+70 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPetr Vorel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/
[2] https://lore.kernel.org/ltp/[email protected]/

---
Changes in v2:
- fixed as per Petr suggestions
- Link to v1: https://lore.kernel.org/[email protected]

To: Linux Test Project <[email protected]>

---
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 | 103 +++++++++++++++++----------------
 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, 123 insertions(+), 52 deletions(-)

---
base-commit: 95c8cf4fcb90df48e8096cb8da02046ec2ebc49b
change-id: 20260930-fix_generate_syscalls-3692a6818a79

Best regards,

Signature · 5 lines
Andrea Cervesato <[email protected]>


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