aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_core_read.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-08-18 21:33:54 +0000
committerAlexei Starovoitov <[email protected]>2020-08-19 00:16:15 +0000
commit02f47faa25db134f6043fb6b12a68b5d4c980bb6 (patch)
tree82961c0dc05e1d217448e8e82bc899a24e71a340 /tools/lib/bpf/bpf_core_read.h
parentlibbpf: Sanitize BPF program code for bpf_probe_read_{kernel, user}[_str] (diff)
downloadkernel-02f47faa25db134f6043fb6b12a68b5d4c980bb6.tar.gz
kernel-02f47faa25db134f6043fb6b12a68b5d4c980bb6.zip
selftests/bpf: Fix test_vmlinux test to use bpf_probe_read_user()
The test is reading UAPI kernel structure from user-space. So it doesn't need CO-RE relocations and has to use bpf_probe_read_user(). Fixes: acbd06206bbb ("selftests/bpf: Add vmlinux.h selftest exercising tracing of syscalls") Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions