-
Notifications
You must be signed in to change notification settings - Fork 1.1k
seccomp: Add more constants from seccomp.h #4330
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
Conversation
Some changes occurred in the Android module cc @maurer |
Please also consider this for backporting to 0.2 |
Android changes LGTM |
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.
Could you update SECCOMP_FILTER_FLAG_TSYNC_ESRCH
and SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
to use 1 << 4
and 1 << 5
to be consistent the headers? I know the other constants don't do this yet, they can also be updated if you want.
Otherwise just add a permalink to the headers in the PR description and LGTM.
You can request this via rustbot: @rustbot label +stable-nominated |
and align Android + Linux
fd5dfc7
to
97432d1
Compare
Thanks for your review! I changed to filter flags to use shifted ones just like in latest Linus' master branch. |
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.
Great, thank you!
and align Android + Linux (backport <rust-lang#4330>) (cherry picked from commit 97432d1)
and align Android + Linux
Description
Update seccomp constants from seccomp.h and synchronize Linux and Android targets.
Sources
linux/seccomp.h
@rustbot label +stable-nominated