Re: [PATCH v4 bpf-next 1/4] capability: introduce CAP_BPF and CAP_TRACING

2019-09-09 Thread Andy Lutomirski
On Fri, Sep 6, 2019 at 4:10 PM Alexei Starovoitov wrote: > > Split BPF and perf/tracing operations that are allowed under > CAP_SYS_ADMIN into corresponding CAP_BPF and CAP_TRACING. > For backward compatibility include them in CAP_SYS_ADMIN as well. > > The end result provides simple safety model

[PATCH v4 bpf-next 1/4] capability: introduce CAP_BPF and CAP_TRACING

2019-09-06 Thread Alexei Starovoitov
Split BPF and perf/tracing operations that are allowed under CAP_SYS_ADMIN into corresponding CAP_BPF and CAP_TRACING. For backward compatibility include them in CAP_SYS_ADMIN as well. The end result provides simple safety model for applications that use BPF: - for tracing program types BPF_PROG