aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2025-08-29 11:32:03 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-09-09 15:09:29 -0700
commit813104c192740ca58ce7131faf31a7f118645ae1 (patch)
treeb28fb0d124e318582dbf9586f3de16535c41bb45 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentMerge branch 'selftests-bpf-fix-expression-result-unused-warnings-with-icecc' (diff)
parentselftests/bpf: Add tests for bpf_strnstr (diff)
downloadlinux-813104c192740ca58ce7131faf31a7f118645ae1.tar.gz
linux-813104c192740ca58ce7131faf31a7f118645ae1.zip
Merge branch 'fix-bpf_strnstr-len-error'
Rong Tao says: ==================== Fix bpf_strnstr() wrong 'len' parameter, bpf_strnstr("open", "open", 4) should return 0 instead of -ENOENT. And fix a more general case when s2 is a suffix of the first len characters of s1. ==================== Link: https://patch.msgid.link/tencent_E72A37AF03A3B18853066E421B5969976208@qq.com Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions