]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Add a test for ids=0 to verifier_scalar_ids test
authorPuranjay Mohan <puranjay@kernel.org>
Tue, 3 Feb 2026 16:51:01 +0000 (08:51 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 3 Feb 2026 18:34:33 +0000 (10:34 -0800)
commitf6ef5584ccb5683542abb38461970e969b580fba
tree0f6f419a47f4b3b663cd18d3397ed6fcd3546f1c
parentb0388bafa4949bd30af7b3be5ee415f2a25ac014
selftests/bpf: Add a test for ids=0 to verifier_scalar_ids test

Test that two registers with their id=0 (unlinked) in the cached state
can be mapped to a single id (linked) in the current state.

Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20260203165102.2302462-6-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_scalar_ids.c