selftests/bpf: Add F_NEEDS_EFFICIENT_UNALIGNED_ACCESS to some tests
authorBjörn Töpel <bjorn@rivosinc.com>
Wed, 5 Jul 2023 11:39:25 +0000 (13:39 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 5 Jul 2023 12:34:23 +0000 (14:34 +0200)
commitce1f289f541e34f5ae235cb66a5c130436f327f1
tree894eb38c05ed2c13d874496f14d93a1ff9fd1fce
parentcf6eeb8f9dace014f63a3b2e959d0922bf737233
selftests/bpf: Add F_NEEDS_EFFICIENT_UNALIGNED_ACCESS to some tests

Some verifier tests were missing F_NEEDS_EFFICIENT_UNALIGNED_ACCESS,
which made the test fail. Add the flag where needed.

Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230705113926.751791-2-bjorn@kernel.org
tools/testing/selftests/bpf/verifier/atomic_cmpxchg.c
tools/testing/selftests/bpf/verifier/ctx_skb.c
tools/testing/selftests/bpf/verifier/jmp32.c
tools/testing/selftests/bpf/verifier/map_kptr.c
tools/testing/selftests/bpf/verifier/precise.c