commit | 61f3c964dfd287b05d7ac6660a4f4ddfef84786c | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Wed Jan 17 16:52:02 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jan 18 22:37:58 2018 +0100 |
tree | 08e694284faafaea533e9ca894ca9564a16bcc27 | |
parent | e7b2823a582a5bca5ee47644f448e317178e8824 [diff] |
bpf: allow socket_filter programs to use bpf_prog_test_run in order to improve test coverage allow socket_filter program type to be run via bpf_prog_test_run command. Since such programs can be loaded by non-root tighten permissions for bpf_prog_test_run to be root only to avoid surprises. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>