diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-03-05 01:46:45 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-06 02:29:36 +0300 |
commit | 8218ccb5bd68976ed5d75028ef50c13a857eee25 (patch) | |
tree | f0b594982bfae3c0e046bcca8e4a9313fc0d35dc /tools/perf/scripts/python/syscall-counts.py | |
parent | 0b206c6d1066f1ee85e4238a1e34d7437148a9a3 (diff) | |
download | linux-8218ccb5bd68976ed5d75028ef50c13a857eee25.tar.xz |
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 <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220304224645.3677453-9-memxor@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions