[PATCH v7 bpf-next 0/3] Introduce CAP_BPF

Daniel Borkmann daniel at iogearbox.net
Fri May 15 15:55:20 UTC 2020


On 5/14/20 1:03 AM, Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast at kernel.org>
> 
> v6->v7:
> - permit SK_REUSEPORT program type under CAP_BPF as suggested by Marek Majkowski.
>    It's equivalent to SOCKET_FILTER which is unpriv.

Applied, thanks! I do like the env->{allow_ptr_leaks,bypass_spec_v1,bypass_spec_v4,
bpf_capable} split much better, so there's more clarity which belongs to which.
Potentially this can be even made more fine-grained at some point.



More information about the Linux-security-module-archive mailing list