]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, selftests: Adjust few selftest result_unpriv outcomes
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 4 May 2021 08:58:25 +0000 (08:58 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 25 May 2021 20:08:53 +0000 (22:08 +0200)
commit1bad6fd52be4ce12d207e2820ceb0f29ab31fc53
treec2756b46f05548ce2bc9a924da0f182a69880ccd
parenta7036191277f9fa68d92f2071ddc38c09b1e5ee5
bpf, selftests: Adjust few selftest result_unpriv outcomes

Given we don't need to simulate the speculative domain for registers with
immediates anymore since the verifier uses direct imm-based rewrites instead
of having to mask, we can also lift a few cases that were previously rejected.

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