aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-04-29 12:00:05 +0000
committerAndrii Nakryiko <[email protected]>2024-04-29 23:13:14 +0000
commita3034872cd90a6881ad4e10ca6d30e1215a99ada (patch)
tree4e8c7500b29b275356a9a793c60009ee59b865ee /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c
parentbpf: Use struct_size() (diff)
downloadkernel-a3034872cd90a6881ad4e10ca6d30e1215a99ada.tar.gz
kernel-a3034872cd90a6881ad4e10ca6d30e1215a99ada.zip
bpf: Switch to krealloc_array()
Let the krealloc_array() copy the original data and check for a multiplication overflow. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions