From 42a6ef63161a8dc4288172b27f3870e50b3606f7 Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Mon, 24 Feb 2025 12:02:37 -0800 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 01f3ce5328c405179b2c69ea047c423dad2bfa6d Checkpoint bpf-next commit: 239860828f8660e2be487e2fbdae2640cce3fd67 Baseline bpf commit: c45323b7560ec87c37c729b703c86ee65f136d75 Checkpoint bpf commit: 319fc77f8f45a1b3dba15b0cc1a869778fd222f7 Andrii Nakryiko (2): libbpf: fix LDX/STX/ST CO-RE relocation size adjustment logic libbpf: Fix hypothetical STT_SECTION extern NULL deref case Daniel Borkmann (1): netkit: Allow for configuring needed_{head,tail}room Ihor Solodrai (3): libbpf: Introduce kflag for type_tags and decl_tags in BTF docs/bpf: Document the semantics of BTF tags with kind_flag libbpf: Check the kflag of type tags in btf_dump Tao Chen (1): libbpf: Wrap libbpf API direct err with libbpf_err Tony Ambardar (1): libbpf: Fix accessing BTF.ext core_relo header Yonghong Song (1): bpf: Sync uapi bpf.h header for the tooling infra include/uapi/linux/bpf.h | 5 +- include/uapi/linux/btf.h | 3 +- include/uapi/linux/if_link.h | 2 + src/btf.c | 90 ++++++++++++++++++++++++++---------- src/btf.h | 3 ++ src/btf_dump.c | 5 +- src/libbpf.c | 26 +++++------ src/libbpf.map | 2 + src/linker.c | 2 +- src/relo_core.c | 24 ++++++++-- 10 files changed, 116 insertions(+), 46 deletions(-) Signed-off-by: Ihor Solodrai --- BPF-CHECKPOINT-COMMIT | 2 +- CHECKPOINT-COMMIT | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BPF-CHECKPOINT-COMMIT b/BPF-CHECKPOINT-COMMIT index 8056484..ced180b 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -c45323b7560ec87c37c729b703c86ee65f136d75 +319fc77f8f45a1b3dba15b0cc1a869778fd222f7 diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index e3daa07..d15a298 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -01f3ce5328c405179b2c69ea047c423dad2bfa6d +239860828f8660e2be487e2fbdae2640cce3fd67