aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-08-18 14:33:54 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-08-18 17:16:15 -0700
commit02f47faa25db134f6043fb6b12a68b5d4c980bb6 (patch)
tree82961c0dc05e1d217448e8e82bc899a24e71a340 /tools/lib/bpf/bpf_prog_linfo.c
parent109cea5a594f921632ca599b385aaa0575971045 (diff)
downloadlinux-02f47faa25db134f6043fb6b12a68b5d4c980bb6.tar.gz
linux-02f47faa25db134f6043fb6b12a68b5d4c980bb6.tar.bz2
linux-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 <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200818213356.2629020-6-andriin@fb.com
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions