-
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: basic infrastructure for tracking per-syscall/ABI kernel versions #381
Conversation
Thanks for taking a quick look, let me know if anything pops up on closer inspection. Also, thanks for all your work in putting together the scripting to determine the kernel versions. Looking at your branch, a few things come to mind:
Thoughts? |
Will do.
Sounds good to me. I arbitrarily started with v5.4 because that's the base kernel of Oracle's UEK6. Going back to v3.5 makes more sense from seccomp's point of view. I'll make that change. And the
Thanks. That's a really solid vision to only rely on Bash. I don't recall hearing you say that before. arch-populate-version.py is definitely a one-off script that wouldn't be part of the I have a rough draft of a script that can turn the syscalls.csv versions into a C header file. It's currently in Python3, but I think it should be do-able to convert it to Bash. Thanks! |
@pcmoore, I noticed this oddity when running arch-syscall-validate. Not sure of the root cause:
|
It's an easy fix. A newline was accidentally inserted into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
This commit adds basic support for tracking what kernel introduced a syscall for a given arch/ABI. It does not provide any of that kernel version information, leaving only a SCMP_KV_UNDEF placeholder, nor does it attempt to do anything meaningful with this new source of information; this patch simply establishes a new syscalls.csv format so that we can start properly recording the kernel versions. Signed-off-by: Paul Moore <paul@paul-moore.com>
FYI, I just force pushed a slight change that moves the |
Good call. Thanks, @pcmoore |
Merged via 72198d9, thanks for the review! |
This commit adds basic support for tracking what kernel introduced a syscall for a given arch/ABI. It does not provide any of that kernel version information, leaving only a SCMP_KV_UNDEF placeholder, nor does it attempt to do anything meaningful with this new source of information; this patch simply establishes a new syscalls.csv format so that we can start properly recording the kernel versions.
Signed-off-by: Paul Moore paul@paul-moore.com