selftests/bpf: null checks for rdonly_untrusted_mem should be preserved
authorEduard Zingerman <eddyz87@gmail.com>
Wed, 2 Jul 2025 07:36:20 +0000 (00:36 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 2 Jul 2025 17:43:30 +0000 (10:43 -0700)
commita90f5f7370c283863d3872f231debc9b2227b27f
tree8e276292043e96540c5a97ee450ec169b2aeaa4b
parentc3b9faac9bd690263e03b78eb78c75cae5ff7509
selftests/bpf: null checks for rdonly_untrusted_mem should be preserved

Test case checking that verifier does not assume rdonly_untrusted_mem
values as not null.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250702073620.897517-2-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
tools/testing/selftests/bpf/progs/mem_rdonly_untrusted.c