Thread (2 messages) 2 messages, 2 authors, 2020-03-05

Re: [PATCH bpf-next] bpf: Remove unnecessary CAP_MAC_ADMIN check

From: Alexei Starovoitov <hidden>
Date: 2020-03-05 22:39:05
Also in: bpf, lkml

On Thu, Mar 05, 2020 at 09:49:55PM +0100, KP Singh wrote:
From: KP Singh <redacted>

While well intentioned, checking CAP_MAC_ADMIN for attaching
BPF_MODIFY_RETURN tracing programs to "security_" functions is not
necessary as tracing BPF programs already require CAP_SYS_ADMIN.

Fixes: 6ba43b761c41 ("bpf: Attachment verification for BPF_MODIFY_RETURN")
Signed-off-by: KP Singh <redacted>
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help