| commit | eb6c99278490a9045662cbc2df9e2a99489df37a | [log] [tgz] |
|---|---|---|
| author | Ihor Solodrai <isolodrai@meta.com> | Mon Jun 09 11:30:23 2025 -0700 |
| committer | Andrii Nakryiko <andrii@kernel.org> | Mon Jun 09 16:42:04 2025 -0700 |
| tree | 26f0fa6dedc6b8609323f39646d6356f41ef8a59 | |
| parent | 5534e58f2e9bd72b253d033ee0af6e68eb8ac96b [diff] |
selftests/bpf: Add cmp_map_pointer_with_const test Add a test for CONST_PTR_TO_MAP comparison with a non-0 constant. A BPF program with this code must not pass verification in unpriv. Signed-off-by: Ihor Solodrai <isolodrai@meta.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250609183024.359974-3-isolodrai@meta.com