diff options
| author | Andrii Nakryiko <[email protected]> | 2019-11-21 17:59:00 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-11-25 00:58:46 +0000 |
| commit | 6147a140c99f1ded2b519dfbed17e781e5861bf3 (patch) | |
| tree | 3d3484f31c432843f412fb9ee4bf72ee8777baed /tools/lib/bpf/bpf_helpers.h | |
| parent | libbpf: Fix bpf_object name determination for bpf_object__open_file() (diff) | |
| download | kernel-6147a140c99f1ded2b519dfbed17e781e5861bf3.tar.gz kernel-6147a140c99f1ded2b519dfbed17e781e5861bf3.zip | |
selftests/bpf: Ensure core_reloc_kernel is reading test_progs's data only
test_core_reloc_kernel.c selftest is the only CO-RE test that reads and
returns for validation calling thread's information (pid, tgid, comm). Thus it
has to make sure that only test_prog's invocations are honored.
Fixes: df36e621418b ("selftests/bpf: add CO-RE relocs testing setup")
Reported-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
