diff options
author | Andrii Nakryiko <[email protected]> | 2020-07-07 18:53:13 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-07-09 00:44:44 +0200 |
commit | bfc96656a766bd0566565d8a7b6232b2b036fdfb (patch) | |
tree | 368722cb251a4c8c744be6006b2a650e6938af72 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b8c50df0cb3eb9008f8372e4ff0317eee993b8d1 (diff) |
libbpf: Make BTF finalization strict
With valid ELF and valid BTF, there is no reason (apart from bugs) why BTF
finalization should fail. So make it strict and return error if it fails. This
makes CO-RE relocation more reliable, as they are not going to be just
silently skipped, if BTF finalization failed.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions