Fix generate_arch.sh and update syscalls to v7.3-rc5
Status from this message: Merged, Thanks!
Get series with b4
b4 am [email protected] change-id 20260930-fix_generate_syscalls-3692a6818a79Versions newest first
- v2 Latest2 patches 1 replyApplied
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | generate_arch.sh: Fix syscall extraction bugsinclude/ | +53 | 0 replies | |
| 2/2 | syscalls: Update numbers to Linux v7.3-rc5include/ include/ include/ +13 more | +70 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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