Merge branch 'bpf-make-reg_not_null-true-for-const_ptr_to_map'
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 9 Jun 2025 23:42:05 +0000 (16:42 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 9 Jun 2025 23:42:05 +0000 (16:42 -0700)
commitf3effef2e8976c6b0edfd849129417ad3b5eab00
tree2cc82d317cdea2b7efa4aa21896cc04706dc1135
parent97ebac58865dec1bca31140252386daefef1654f
parent260b8629189611ab5c4894205955b371bed9b75d
Merge branch 'bpf-make-reg_not_null-true-for-const_ptr_to_map'

Ihor Solodrai says:

====================
bpf: make reg_not_null() true for CONST_PTR_TO_MAP

Handle CONST_PTR_TO_MAP null checks in the BPF verifier. Add
appropriate test cases.

v3->v4: more test cases
v2->v3: change constant in unpriv test
v1->v2: add a test case with ringbufs

v3: https://lore.kernel.org/bpf/20250604222729.3351946-1-isolodrai@meta.com/
v2: https://lore.kernel.org/bpf/20250604003759.1020745-1-isolodrai@meta.com/
v1: https://lore.kernel.org/bpf/20250523232503.1086319-1-isolodrai@meta.com/
====================

Link: https://patch.msgid.link/20250609183024.359974-1-isolodrai@meta.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>