selftests/bpf: verifier_arena: fix mmap address for arm64
authorPuranjay Mohan <puranjay12@gmail.com>
Fri, 22 Mar 2024 13:35:52 +0000 (13:35 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 23 Mar 2024 03:37:39 +0000 (20:37 -0700)
commitfa3550dca8f02ec312727653a94115ef3ab68445
tree1fb389cc55b931a0899ff34b0aa8ab8c35c9128b
parentf7f5d1808b1b66935a24dd796dd1a0612ca9c147
selftests/bpf: verifier_arena: fix mmap address for arm64

The arena_list selftest uses (1ull << 32) in the mmap address
computation for arm64. Use the same in the verifier_arena selftest.

This makes the selftest pass for arm64 on the CI[1].

[1] https://github.com/kernel-patches/bpf/pull/6622

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Link: https://lore.kernel.org/r/20240322133552.70681-1-puranjay12@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_arena.c