-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Sync to Linux 6.11 syscall definitions #435
Open
xen0n
wants to merge
3
commits into
seccomp:main
Choose a base branch
from
xen0n:linux-6.11-syscalls
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
Apart from de-duplication of logic, this refactor is also going to help syncing to the Linux 6.11+ definitions, where all architectures are converted to source their syscall definitions from syscall.tbl files. The change is tested on Linux 6.2 sources to not affect the generated syscalls.csv apart from timestamp changes. Signed-off-by: WANG Xuerui <git@xen0n.name>
The aarch64, loongarch64 and riscv64 architectures have their syscall table sources changed to scripts/syscall.tbl, from the original inclusion of asm-generic/unistd.h. Make the script recognize the new format for these architectures. Signed-off-by: WANG Xuerui <git@xen0n.name>
xen0n
force-pushed
the
linux-6.11-syscalls
branch
from
August 20, 2024 04:53
aecd5e9
to
f36e149
Compare
xen0n
changed the title
Sync to Linux 6.11 syscall definitions
RFE: Sync to Linux 6.11 syscall definitions
Aug 20, 2024
Due to the addition of fstat & newfstatat to the LoongArch syscall ABI, test 38 and 55 have to be updated for the changed syscall numbers. Signed-off-by: WANG Xuerui <git@xen0n.name>
xen0n
force-pushed
the
linux-6.11-syscalls
branch
from
August 20, 2024 05:13
f36e149
to
f4afd16
Compare
After the change, |
this is really helpful for LoongArch, thanks. |
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.
The
arch-syscall-validate
script updates will need to be backported to v2.5.x later, for continuing to sync aarch64 and riscv64 that got refactored to source the syscall definitions from asyscall.tbl
instead ofasm-generic/unistd.h
.