summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2021-12-10 17:16:52 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-12-12 04:40:23 +0300
commitbdbee82beca4514496c52a2dc035f2a26f0c1b88 (patch)
tree8f12996f3395a51aed6906f48497ca3be84da125 /include/linux
parent9c42652f8be3202ad11cf4fbc358688003cff21c (diff)
downloadlinux-bdbee82beca4514496c52a2dc035f2a26f0c1b88.tar.xz
selftests/bpf: Add test cases for bpf_strncmp()
Four test cases are added: (1) ensure the return value is expected (2) ensure no const string size is rejected (3) ensure writable target is rejected (4) ensure no null-terminated target is rejected Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211210141652.877186-5-houtao1@huawei.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions