diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-07-08 03:53:13 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-07-09 00:44:44 +0200 |
commit | bfc96656a766bd0566565d8a7b6232b2b036fdfb (patch) | |
tree | 368722cb251a4c8c744be6006b2a650e6938af72 /tools/lib/vsprintf.c | |
parent | selftests/bpf: test_progs avoid minus shell exit codes (diff) | |
download | linux-bfc96656a766bd0566565d8a7b6232b2b036fdfb.tar.xz linux-bfc96656a766bd0566565d8a7b6232b2b036fdfb.zip |
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 <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200708015318.3827358-2-andriin@fb.com
Diffstat (limited to 'tools/lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions