Skip to content

eBPF-based security platform

vendor: refresh libbpf for the syscall note on linux/types.h

Daniel Borkmann9af317007284
diff --git a/vendor/libbpf/COMMIT b/vendor/libbpf/COMMIT
index bd86a814..39e74abb 100644
--- a/vendor/libbpf/COMMIT
+++ b/vendor/libbpf/COMMIT
@@ -1,5 +1,5 @@
# Written by contrib/bpf-deps.sh; do not edit.
source=/home/darkstar/net
-commit=0d5e3fc78a6f2522e6339743b8e5ecc02351a9dd
-describe=v6.11-rc6-188825-g0d5e3fc78a6f
-updated=2026-10-14T09:40:37Z
+commit=f5bffe9f098fbf1b60e0242c7b96e06d1e4256d5
+describe=v6.11-rc6-188859-gf5bffe9f098f
+updated=2026-10-20T13:38:19Z
diff --git a/vendor/libbpf/README.md b/vendor/libbpf/README.md
index 78929530..6e2d5c6e 100644
--- a/vendor/libbpf/README.md
+++ b/vendor/libbpf/README.md
@@ -14,7 +14,7 @@ source commit in `COMMIT`, and rebuilds `libbpf.a` as a check.
| Path | Origin | License |
|---|---|---|
-| `bpf/*.c`, `bpf/*.h` | `tools/lib/bpf/` (verbatim) | `LGPL-2.1 OR BSD-2-Clause`; shirudo consumes the BSD branch |
+| `bpf/*.c`, `bpf/*.h` | `tools/lib/bpf/` (verbatim, but see below) | `LGPL-2.1 OR BSD-2-Clause`; shirudo consumes the BSD branch |
| `bpf/bpf_helper_defs.h` | generated from `bpf.h` by `scripts/bpf_doc.py` | as libbpf |
| `include/uapi/linux/*.h` | `tools/include/uapi/linux/` (verbatim) | `GPL-2.0 WITH Linux-syscall-note`: the syscall note permits user programs to include them |
| `include/linux/*.h`, `include/asm/*.h` | shirudo-owned shims replacing the kernel's `tools/include` internals | BSD-2-Clause |
@@ -27,3 +27,8 @@ acquire/release ring-buffer accessors), all GPL-2.0-only in the kernel, so
shirudo provides its own definitions of exactly that surface. When an
update makes libbpf need a new helper, the `libbpf.a` rebuild at the end
of `bpf-deps` fails on the missing symbol; extend the shim.
+
+`bpf/gen_loader.c` and `bpf/libbpf.c` carry one local change on top of
+the recorded commit, 5de632280142 ("libbpf: validate generated loader
+program counts"). `bpf-deps` overwrites both files, so re-apply that
+change after a refresh until it is upstream.
diff --git a/vendor/libbpf/bpf/libbpf_version.h b/vendor/libbpf/bpf/libbpf_version.h
index c446c0cd..57b74ef3 100644
--- a/vendor/libbpf/bpf/libbpf_version.h
+++ b/vendor/libbpf/bpf/libbpf_version.h
@@ -4,6 +4,6 @@
#define __LIBBPF_VERSION_H
#define LIBBPF_MAJOR_VERSION 1
-#define LIBBPF_MINOR_VERSION 8
+#define LIBBPF_MINOR_VERSION 9
#endif /* __LIBBPF_VERSION_H */
diff --git a/vendor/libbpf/include/uapi/linux/types.h b/vendor/libbpf/include/uapi/linux/types.h
index 85aa3272..6acf2059 100644
--- a/vendor/libbpf/include/uapi/linux/types.h
+++ b/vendor/libbpf/include/uapi/linux/types.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_LINUX_TYPES_H
#define _UAPI_LINUX_TYPES_H