diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-01-28 03:06:28 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-28 23:30:08 +0300 |
commit | 56e1a50483194b2e0ac54849e94cc2b80480895e (patch) | |
tree | 80b6bdb7d75ceca93eb6a0764856ad916d38be26 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 98e13848cf43b66b0f32f10011aa398c2bff5ae6 (diff) | |
download | linux-56e1a50483194b2e0ac54849e94cc2b80480895e.tar.xz |
selftests/bpf: Fix verify_pkcs7_sig on s390x
Use bpf_probe_read_kernel() instead of bpf_probe_read(), which is not
defined on all architectures.
While at it, improve the error handling: do not hide the verifier log,
and check the return values of bpf_probe_read_kernel() and
bpf_copy_from_user().
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230128000650.1516334-10-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions