diff options
author | 2021-12-15 12:35:34 -0800 | |
---|---|---|
committer | 2021-12-16 21:41:13 +0100 | |
commit | 7edc3fcbf9a2b2e3df53c9656a9f85bf807affac (patch) | |
tree | e67f6302d7d49c1c331031619e4f66ab13164907 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Fix extable address check. (diff) | |
download | linux-dev-7edc3fcbf9a2b2e3df53c9656a9f85bf807affac.tar.xz linux-dev-7edc3fcbf9a2b2e3df53c9656a9f85bf807affac.zip |
selftest/bpf: Add a test that reads various addresses.
Add a function to bpf_testmod that returns invalid kernel and user addresses.
Then attach an fexit program to that function that tries to read
memory through these addresses.
This logic checks that bpf_probe_read_kernel and BPF_PROBE_MEM logic is sane.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions