diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-07-21 15:42:45 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-07-21 21:03:25 -0700 |
commit | e3fa4735f04dcebd49c78544eb6c363efdd6385f (patch) | |
tree | e5c03be8e09060966aa3c18bc8f35e92ebb645dc /tools/perf/scripts/python/intel-pt-events.py | |
parent | c6f420ac9d251f694d030ed4ea43262f3f3ef39e (diff) |
selftests/bpf: Fix test_verifier failed test in unprivileged mode
Loading the BTF won't be permitted without privileges, hence only test
for privileged mode by setting the prog type. This makes the
test_verifier show 0 failures when unprivileged BPF is enabled.
Fixes: 41188e9e9def ("selftest/bpf: Test for use-after-free bug fix in inline_bpf_loop")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions