Re: RFC: very rough draft of a bpf permission model

2019-08-26 Thread Alexei Starovoitov
On Mon, Aug 26, 2019 at 05:05:58PM -0700, Andy Lutomirski wrote: > >> > >> The BPF verifier and interpreter, taken in isolation, may be extremely > >> safe, but attaching BPF programs to various hooks can easily take down > >> the system, deliberately or by accident. A handler, especially if it >

Re: RFC: very rough draft of a bpf permission model

2019-08-26 Thread Andy Lutomirski
> On Aug 26, 2019, at 3:36 PM, Alexei Starovoitov > wrote: > >> On Fri, Aug 23, 2019 at 04:09:11PM -0700, Andy Lutomirski wrote: >> On Thu, Aug 22, 2019 at 4:26 PM Alexei Starovoitov >> wrote: >>> You're proposing all of the above in addition to CAP_BPF, right? >>> Otherwise I don't see how it a

Re: RFC: very rough draft of a bpf permission model

2019-08-26 Thread Alexei Starovoitov
On Fri, Aug 23, 2019 at 04:09:11PM -0700, Andy Lutomirski wrote: > On Thu, Aug 22, 2019 at 4:26 PM Alexei Starovoitov > wrote: > > You're proposing all of the above in addition to CAP_BPF, right? > > Otherwise I don't see how it addresses the use cases I kept > > explaining for the last few weeks.

Re: RFC: very rough draft of a bpf permission model

2019-08-23 Thread Andy Lutomirski
On Thu, Aug 22, 2019 at 4:26 PM Alexei Starovoitov wrote: > You're proposing all of the above in addition to CAP_BPF, right? > Otherwise I don't see how it addresses the use cases I kept > explaining for the last few weeks. None of my proposal is intended to exclude changes like CAP_BPF to make p

Re: RFC: very rough draft of a bpf permission model

2019-08-22 Thread Alexei Starovoitov
On Thu, Aug 22, 2019 at 08:17:54AM -0700, Andy Lutomirski wrote: > BPF security strawman, v0.1 > > This is very rough. Most of this, especially the API details, needs > work before it's ready to implement. The whole concept also needs > review. > > = Goals = > > The overall goal is to make it

RFC: very rough draft of a bpf permission model

2019-08-22 Thread Andy Lutomirski
BPF security strawman, v0.1 This is very rough. Most of this, especially the API details, needs work before it's ready to implement. The whole concept also needs review. = Goals = The overall goal is to make it possible to use eBPF without having what is effectively administrator access. For