-
Notifications
You must be signed in to change notification settings - Fork 43
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
capability: use pr_CAP_AMBIENT_CLEAR_ALL to reduce pr_CAP_AMBIENT_LOWER syscall #164
Conversation
5f8565f
to
cc3a106
Compare
This is definitely an improvement, thank you! Can we have a test case added? |
cc3a106
to
6d5ac2a
Compare
d24b995
to
472a317
Compare
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.
Since this is moby/sys repo which contain a bunch of packages, can you please prepend each commit title with capability:
prefix?
…ER syscall Signed-off-by: lfbzhm <[email protected]>
Signed-off-by: lfbzhm <[email protected]>
472a317
to
97c671e
Compare
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.
LGTM
When we want to set ambient capability for current process/thread, we can clear it first, and set them later one by one.
We don't need to clear all supported but unused capabilities one by one.
Close #163