selftests/bpf: verifier/prevent_map_lookup converted to inline assembly
authorEduard Zingerman <eddyz87@gmail.com>
Fri, 21 Apr 2023 20:45:14 +0000 (23:45 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 22 Apr 2023 15:26:58 +0000 (08:26 -0700)
commit35150203e30b52d657165e325e3abc3b29c2086d
tree42924574a6541d46b70a6dcf4cbdb61e409b00ad
parent6d26d985eeda89faedabbcf6607c37454b9691b0
selftests/bpf: verifier/prevent_map_lookup converted to inline assembly

Test verifier/prevent_map_lookup automatically converted to use inline assembly.

This was a part of a series [1] but could not be applied becuase
another patch from a series had to be witheld.

[1] https://lore.kernel.org/bpf/20230421174234.2391278-1-eddyz87@gmail.com/

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230421204514.2450907-1-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/verifier.c
tools/testing/selftests/bpf/progs/verifier_prevent_map_lookup.c [new file with mode: 0644]
tools/testing/selftests/bpf/verifier/prevent_map_lookup.c [deleted file]