tmp_suning_uos_patched/tools/lib
Andrii Nakryiko ab88c8d906 libbpf: Fix logic for finding matching program for CO-RE relocation
[ Upstream commit 966a7509325395c51c5f6d89e7352b0585e4804b ]

Fix the bug in bpf_object__relocate_core() which can lead to finding
invalid matching BPF program when processing CO-RE relocation. IF
matching program is not found, last encountered program will be assumed
to be correct program and thus error detection won't detect the problem.

Fixes: 9c82a63cf3 ("libbpf: Fix CO-RE relocs against .text section")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220426004511.2691730-4-andrii@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:21:03 +02:00
..
api
bpf libbpf: Fix logic for finding matching program for CO-RE relocation 2022-06-09 10:21:03 +02:00
lockdep
perf perf tools: Fix segfault accessing sample_id xyarray 2022-04-27 13:53:46 +02:00
subcmd libsubcmd: Fix use-after-free for realloc(..., 0) 2022-02-23 12:01:02 +01:00
symbol
traceevent
argv_split.c
bitmap.c
ctype.c
find_bit.c
hweight.c
rbtree.c
str_error_r.c
string.c tools lib: Adopt memchr_inv() from kernel 2021-09-26 14:08:57 +02:00
vsprintf.c
zalloc.c