aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-03-05 04:16:45 +0530
committerAlexei Starovoitov <[email protected]>2022-03-05 15:29:36 -0800
commit8218ccb5bd68976ed5d75028ef50c13a857eee25 (patch)
treef0b594982bfae3c0e046bcca8e4a9313fc0d35dc /lib/string_helpers.c
parent0b206c6d1066f1ee85e4238a1e34d7437148a9a3 (diff)
selftests/bpf: Add tests for kfunc register offset checks
Include a few verifier selftests that test against the problems being fixed by previous commits, i.e. release kfunc always require PTR_TO_BTF_ID fixed and var_off to be 0, and negative offset is not permitted and returns a helpful error message. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions