Repository navigation
Update syscall tables for Linux 7.4-rc1 - #202
Merged
Merged
Conversation
Add syscalls 463-472 and the x86_64 uprobe syscall (336).
There was a problem hiding this comment.
🟢 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.336placeholder withuprobe. - 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Updates the Linux syscall tables in
pkg/systemto match Linuxv7.4-rc1(6628e7d4c6b2).setxattrat,getxattrat,listxattrat,removexattrat,open_tree_attr,file_getattr,file_setattr,listns,rseq_slice_yield,fchrootuprobesyscall (336), replacing the oldreserved.336placeholder.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_range2vsarm_sync_file_range), which was left unchanged intentionally.