]> 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)
commite95c0af5443a87c80894792d77f01262946986e5
tree580d9ce17012b6dce0d9da1b9a4993cf9e602605
parent26e07984ecc9a20f9c04a944a3dcda67aaeeab7a
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