summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2023-08-22 20:51:40 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-08-22 22:52:48 +0300
commitfbc5bc4c8e6ca6f5720798c96107307906dc49c0 (patch)
tree646d352f0565c43db72aeba106b44ac474d604b2 /tools/perf/scripts/python
parent6785b2edf48c6b1c3ea61fe3b0d2e02b8fbf90c0 (diff)
downloadlinux-fbc5bc4c8e6ca6f5720798c96107307906dc49c0.tar.xz
selftests/bpf: Add test for bpf_obj_drop with bad reg->off
Add a selftest for the fix provided in the previous commit. Without the fix, the selftest passes the verifier while it should fail. The special logic for detecting graph root or node for reg->off and bypassing reg->off == 0 guarantee for release helpers/kfuncs has been dropped. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20230822175140.1317749-3-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions