]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: test make sure to run unpriv test cases in test_verifier
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 31 Oct 2018 23:05:55 +0000 (00:05 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 31 Oct 2018 23:53:17 +0000 (16:53 -0700)
commita7608773c4b6a575c6c0611d21f2147c5b4c4133
tree580d9ce17012b6dce0d9da1b9a4993cf9e602605
parent35f03ace89e285c17e36d9e9e0c43e847f30b28c
bpf: test make sure to run unpriv test cases in test_verifier

Right now unprivileged tests are never executed as a BPF test run,
only loaded. Allow for running them as well so that we can check
the outcome and probe for regressions.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_verifier.c