Skip to content

Update syscall tables for Linux 7.4-rc1 - #202

Merged
kcq merged 1 commit into
masterfrom
update-syscall-tables-7.4-rc1
Nov 2, 2026
Merged

kcq merged 1 commit into
masterfrom
update-syscall-tables-7.4-rc1

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

What

Updates the Linux syscall tables in pkg/system to match Linux v7.4-rc1 (6628e7d4c6b2).

  • Added syscalls 463-472 to x86_64, x86_32, arm64, and arm32:
    setxattrat, getxattrat, listxattrat, removexattrat, open_tree_attr, file_getattr, file_setattr, listns, rseq_slice_yield, fchroot
  • Added the x86_64-only uprobe syscall (336), replacing the old reserved.336 placeholder.
  • Bumped Syscall*MaxNum* / Syscall*LastName* constants to 472 / fchroot.

Sources:

Why

Keep syscall name/number resolution current for seccomp and syscall processing.

How Tested

Compared each generated table against the upstream Linux tables. The only remaining upstream name difference is the pre-existing arm32 syscall 341 alias (sync_file_range2 vs arm_sync_file_range), which was left unchanged intentionally.

Add syscalls 463-472 and the x86_64 uprobe syscall (336).
@kcq
kcq requested a balanced review from Copilot November 2, 2026 07:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The syscall table update has no active review issues.

No open issues 🎉

What changed in this PR

Updates pkg/system syscall tables for Linux 7.4-rc1, keeping syscall name/number resolution current for seccomp and syscall processing.

Changes:

  • Adds syscalls 463–472 across x86_64, x86_32, arm64, and arm32.
  • Replaces x86_64’s reserved.336 placeholder with uprobe.
  • Updates maximum syscall numbers to 472 and last-name constants to fchroot.
File Description
pkg/​system/​syscalls_x86f64.go Adds ten shared syscalls and uprobe; updates boundary constants.
pkg/​system/​syscalls_x86f32.go Adds ten syscalls and updates boundary constants.
pkg/​system/​syscalls_armf64.go Adds ten syscalls and updates boundary constants.
pkg/​system/​syscalls_armf32.go Adds ten syscalls and updates boundary constants.

Review effort: Balanced

@kcq
kcq merged commit 1bc8c79 into master Nov 2, 2026
6 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants