]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: test case for map pointer poison with calls/branches
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 2 Jun 2018 21:06:31 +0000 (23:06 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 3 Jun 2018 14:42:06 +0000 (07:42 -0700)
commit6a326c1f329f635f15de1f5bf094ef5da64bdc39
tree1dcb6db94fcedbfe8c04352b3ad4e379a69b1fd5
parentbb07bcef6e478c3833103eda56408c6fb92e9b2b
bpf: test case for map pointer poison with calls/branches

Add several test cases where the same or different map pointers
originate from different paths in the program and execute a map
lookup or tail call at a common location.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/filter.h
tools/include/linux/filter.h
tools/testing/selftests/bpf/test_verifier.c