Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 0737df6de94661ae55fd3343ce9abec32c687e62 Checkpoint bpf-next commit: 009367099eb61a4fc2af44d4eb06b6b4de7de6db Baseline bpf commit: 3e9bc0472b910d4115e16e9c2d684c7757cb6c60 Checkpoint bpf commit: 3e9bc0472b910d4115e16e9c2d684c7757cb6c60 Andrii Nakryiko (6): libbpf: fix potential overflow in ring__consume_n() libbpf: fix ring_buffer__consume_n() return result logic libbpf: remove unnecessary struct_ops prog validity check libbpf: handle yet another corner case of nulling out struct_ops program libbpf: fix libbpf_strerror_r() handling unknown errors libbpf: improve early detection of doomed-to-fail BPF program loading Jiri Olsa (2): libbpf: Fix error message in attach_kprobe_session libbpf: Fix error message in attach_kprobe_multi Jose E. Marchesi (3): libbpf: Fix bpf_ksym_exists() in GCC libbpf: Avoid casts from pointers to enums in bpf_tracing.h bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD src/bpf_core_read.h | 1 + src/bpf_helpers.h | 17 +++++++++-- src/bpf_tracing.h | 70 ++++++++++++++++++++++----------------------- src/libbpf.c | 42 ++++++++++++++++++--------- src/ringbuf.c | 4 +-- src/str_error.c | 16 +++++++++-- src/usdt.bpf.h | 24 ++++++++-------- 7 files changed, 106 insertions(+), 68 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
- Loading branch information