Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575220
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v2 3/3] bpf: Always test unprivileged programs |
| Date | 2017-02-06 23:50 +0100 |
| Message-ID | <t80gG-2FR-21@gated-at.bofh.it> (permalink) |
| References | <t7Yyd-1xb-7@gated-at.bofh.it> <t7Yyd-1xb-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 02/06/2017 09:52 PM, Mickaël Salaün wrote: > If selftests are run as root, then execute the unprivileged checks as > well. This switch from 240 to 364 tests. > > The test numbers are suffixed with "/u" when executed as unprivileged or > with "/p" when executed as privileged. > > The geteuid() check is replaced with a capability check. > > Handling capabilities requires the libcap dependency. > > Signed-off-by: Mickaël Salaün <mic@digikod.net> > Cc: Alexei Starovoitov <ast@fb.com> > Cc: Daniel Borkmann <daniel@iogearbox.net> > Cc: Shuah Khan <shuah@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next v2 3/3] bpf: Always test unprivileged programs Mickaël Salaün <mic@digikod.net> - 2017-02-06 22:00 +0100 Re: [PATCH net-next v2 3/3] bpf: Always test unprivileged programs Daniel Borkmann <daniel@iogearbox.net> - 2017-02-06 23:50 +0100
csiph-web