]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: add a verifier test case for bpf_get_stack helper and ARSH
authorYonghong Song <yhs@fb.com>
Sun, 29 Apr 2018 05:28:14 +0000 (22:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 29 Apr 2018 15:45:54 +0000 (08:45 -0700)
commit51dd9337b3b85dddee875410f1bd0c0439313271
tree09ec3b52fe8c86ddbd49eaebe531e94ba57e4dbc
parent534cb3f492ba9cdf315836b25401ce5d8aafe9e3
tools/bpf: add a verifier test case for bpf_get_stack helper and ARSH

The test_verifier already has a few ARSH test cases.
This patch adds a new test case which takes advantage of newly
improved verifier behavior for bpf_get_stack and ARSH.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_verifier.c