aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorKui-Feng Lee <[email protected]>2024-05-23 10:41:57 -0700
committerAlexei Starovoitov <[email protected]>2024-06-03 20:52:42 -0700
commit994796c0256c4001633488fd24c3d54691949f8d (patch)
tree2e419b5ab98ddee8e08aa29fb0fd8d183e02e1d9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parenta7db0d4f872a869feb7c0201c0fa736c309192d5 (diff)
bpf: create repeated fields for arrays.
The verifier uses field information for certain special types, such as kptr, rbtree root, and list head. These types are treated differently. However, we did not previously support these types in arrays. This update examines arrays and duplicates field information the same number of times as the length of the array if the element type is one of the special types. Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Kui-Feng Lee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions