Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243558
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs |
| Date | 2015-10-09 19:50 +0200 |
| Message-ID | <qhJXQ-HL-29@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <qhbWa-2nw-7@gated-at.bofh.it> <qho70-33f-13@gated-at.bofh.it> <qhrxT-83b-1@gated-at.bofh.it> <qhElr-129-1@gated-at.bofh.it> <qhJOa-wh-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10/09/2015 07:30 PM, Alexei Starovoitov wrote: ... > Openstack use case is different. There it will be prog_type_sched_cls > that can mangle packets, change skb metadata, etc under TC framework. > These are not suitable for all users and this patch leaves > them root-only. If you're proposing to add CAP_BPF_TC to let containers > use them without being CAP_SYS_ADMIN, then I agree, it is useful, but > needs a lot more safety analysis on tc side. Well, I think if so, then this would need to be something generic for tc instead of being specific to a single (out of various) entities inside the tc framework, but I currently doubt that this makes much sense. If we allow to operate already at that level, then restricting to CAP_SYS_ADMIN makes more sense in that specific context/subsys to me. Best, Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 net-next 0/3] bpf: unprivileged Alexei Starovoitov <ast@plumgrid.com> - 2015-10-08 07:30 +0200
[PATCH v2 net-next 3/3] bpf: add unprivileged bpf tests Alexei Starovoitov <ast@plumgrid.com> - 2015-10-08 07:30 +0200
Re: [PATCH v2 net-next 3/3] bpf: add unprivileged bpf tests Kees Cook <keescook@chromium.org> - 2015-10-08 19:50 +0200
Re: [PATCH v2 net-next 3/3] bpf: add unprivileged bpf tests Alexei Starovoitov <ast@plumgrid.com> - 2015-10-08 20:00 +0200
[PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Alexei Starovoitov <ast@plumgrid.com> - 2015-10-08 07:30 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Kees Cook <keescook@chromium.org> - 2015-10-08 19:50 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-10-08 20:30 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Alexei Starovoitov <ast@plumgrid.com> - 2015-10-09 00:10 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Hannes Frederic Sowa <hannes@stressinduktion.org> - 2015-10-09 13:50 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Alexei Starovoitov <ast@plumgrid.com> - 2015-10-09 19:40 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Daniel Borkmann <daniel@iogearbox.net> - 2015-10-09 19:50 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Alexei Starovoitov <ast@plumgrid.com> - 2015-10-09 20:00 +0200
Re: [PATCH v2 net-next 1/3] bpf: enable non-root eBPF programs Thomas Graf <tgraf@suug.ch> - 2015-10-09 11:30 +0200
Re: [PATCH v2 net-next 0/3] bpf: unprivileged David Miller <davem@davemloft.net> - 2015-10-13 04:10 +0200
csiph-web