sync: latest libbpf changes from kernel

Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit:   9a3a07d06e7d74f4aecc51396c771149336ac55d
Checkpoint bpf-next commit: b5a4aa31abd6fe90009b63e35dc18c67d041ec0c
Baseline bpf commit:        7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
Checkpoint bpf commit:      de020dc8049bfb2b22e3b6d99c031feb2e22d112

Alan Maguire (2):
  btf: Extend UAPI to support BTF location (inline site) info
  libbpf: Add support for BTF kinds LOC[_PARAM|_PROTO|SEC]

Alexei Starovoitov (4):
  libbpf: Support pointers to static functions in data when linking
  libbpf: Resolve pointers to functions in read-only data
  libbpf: Treat .data.rel.ro as read-only data
  libbpf: Support pointers to functions in read-only data in light
    skeleton

Amery Hung (1):
  bpf: tcp: Support parse/len/write header option hooks in bpf_tcp_ops

Andrii Nakryiko (1):
  libbpf: Fix static linking of externs placed in allocated sections

Avinash Duduskar (2):
  bpf: Add BPF_FIB_LOOKUP_VLAN flag to bpf_fib_lookup() helper
  bpf: Add BPF_FIB_LOOKUP_VLAN_INPUT flag to bpf_fib_lookup() helper

Bobby Eshleman (1):
  net: devmem: allow rx-page-size > PAGE_SIZE per dmabuf binding

Christian Brauner (1):
  fs: support FD_FAILFS_ROOT in fchdir()

Darren Carreras (1):
  libbpf: Avoid overflow in BTF.ext bounds check

Fuyu Zhao (1):
  libbpf: Support selective kernel module BTF loading via
    bpf_object_open_opts

Ihor Solodrai (3):
  libbpf: Export btf__find_by_name_kind_own()
  libbpf: Walk types in btf_dump_resize(), not in mark_referenced()
  libbpf: Render decl_tags in btf_dump

Israel Téllez García (1):
  libbpf: Fix ring buffer consumer loop on 32-bit position wrap

Jianlin Shi (1):
  docs: bpf: Document BPF_RB_OVERWRITE_POS in bpf_ringbuf_query

Jiayuan Chen (1):
  libbpf: Fix usdt attach failure when nop10 crosses page boundary

Jiri Olsa (2):
  libbpf: Change has_nop_combo to work on top of nop10
  libbpf: Detect uprobe syscall with new error

Kumar Kartikeya Dwivedi (4):
  bpf: Restrict CO-RE poisoning to relocatable instructions
  libbpf: Reject truncated ldimm64 CO-RE relocations
  bpf: Add file descriptor interface for program streams
  libbpf: Add bpf_prog_stream_open()

Leon Hwang (5):
  libbpf: Probe percpu data feature
  libbpf: Add support for global percpu data
  bpftool: Generate skeleton for global percpu data
  libbpf: Avoid unnecessary mmap resize for percpu data maps
  bpftool: Compute map size of light skeletons at runtime

Luis Vieira (3):
  libbpf: Fix program log buffer size validation
  libbpf: Validate ELF symbol table entry size
  libbpf: Fix cleanup on invalid CO-RE relocation offsets

Mahe Tardy (1):
  libbpf: fix log level propagation for light skeleton loaders

Martin KaFai Lau (2):
  bpf: Add infrastructure to support attaching struct_ops to cgroups
  libbpf: Support attaching struct_ops to a cgroup

Mingpei CAO (2):
  libbpf: Fix array comparison in BTF dedup
  libbpf: Reject local struct_ops bitfields before data access

Mykyta Yatsenko (1):
  libbpf: Defer arena map size check to load time

Nick Hudson (2):
  bpf: Name the enum for BPF_FUNC_skb_adjust_room flags
  bpf: Add BPF_F_ADJ_ROOM_DECAP_* flags for tunnel decapsulation

Puranjay Mohan (1):
  bpf: Add bpf_call_rcu() kfunc

Ricardo B. Marlière (1):
  libbpf: Search /lib64 and /lib in resolve_full_path()

Stanislav Fomichev (1):
  xsk: align TX metadata layout across ABIs

Sudip Mukherjee (1):
  libbpf: Fix debian kernel version information parsing

Toke Høiland-Jørgensen (2):
  libbpf: Move section-defined program flags to prog_flags
  libbpf: Add bpf_program__add_flags() and bpf_program__clear_flags()

Tw (1):
  libbpf: Fix for the potential undefined behavior due to shifting

 include/uapi/linux/bpf.h    | 171 +++++++-
 include/uapi/linux/btf.h    |  83 +++-
 include/uapi/linux/fcntl.h  |   1 +
 include/uapi/linux/if_xdp.h |   1 +
 include/uapi/linux/netdev.h |   1 +
 src/bpf.c                   |  21 +
 src/bpf.h                   |  27 +-
 src/bpf_gen_internal.h      |  16 +-
 src/btf.c                   | 424 +++++++++++++++++++-
 src/btf.h                   |  52 +++
 src/btf_dump.c              | 217 +++++++---
 src/btf_iter.c              |  18 +
 src/elf.c                   |   2 +-
 src/features.c              |  39 +-
 src/gen_loader.c            | 175 ++++++--
 src/libbpf.c                | 772 +++++++++++++++++++++++++++++++++---
 src/libbpf.h                |  41 +-
 src/libbpf.map              |  11 +
 src/libbpf_internal.h       |  10 +-
 src/libbpf_probes.c         |  11 +-
 src/linker.c                |  31 +-
 src/relo_core.c             |  58 +--
 src/ringbuf.c               |   2 +-
 src/skel_internal.h         |  64 ++-
 src/usdt.c                  |  20 +-
 25 files changed, 2017 insertions(+), 251 deletions(-)

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
Andrii Nakryiko authored and Andrii Nakryiko committed 2026-10-02 05:41:50 -07:00
1 parent acc8d76666
commit 6d0328e76b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
de020dc8049bfb2b22e3b6d99c031feb2e22d112
+1 -1
View File
@@ -1 +1 @@
9a3a07d06e7d74f4aecc51396c771149336ac55d
b5a4aa31abd6fe90009b63e35dc18c67d041ec0c