Adding support of CAP_BPF and CAP_PERFMON#7301
Conversation
|
Hi @henry118. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
/retest-required |
|
A fix for the prow/K8s-driven tests was just merged; if you can rebase on master we can get a clean CI run |
Signed-off-by: Henry Wang <[email protected]>
|
Just some random comments/ramblings (perhaps they make no sense)
|
These caps are defined for kernel version 5.8 here. The latest defined known kernel version is 5.9.
These syscalls were not removed from Quoted the manpage below: |
|
/retest-required |
Adding CAP_BPF and CAP_PERFMON
The PR adds support of
CAP_BPFandCAP_PERFMONcapabilities. Prior to kernel 5.8bpfandperf_event_openrequiresCAP_SYS_ADMIN. This change enables finer control of the privilege setting, thus allowing us to run certain system tracing tools with minimal privileges.Signed-off-by: Henry Wang [email protected]