commit | 02f47faa25db134f6043fb6b12a68b5d4c980bb6 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Tue Aug 18 14:33:54 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Aug 18 17:16:15 2020 -0700 |
tree | 82961c0dc05e1d217448e8e82bc899a24e71a340 | |
parent | 109cea5a594f921632ca599b385aaa0575971045 [diff] |
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