[PATCH bpf-next v3 0/4] selftests/bpf: Fix selftests fails with clang23

From: KaFai Wan

Date: Sat Oct 17 2026 - 20:55:22 EST


Building with clang/LLVM 23 breaks several selftests. Patches #1 to #4 fix
those failures.

Changes in v3:
- Remove the patch already applied.

Changes in v2:
- https://lore.kernel.org/bpf/20261014113043.640435-1-kafai.wan@xxxxxxxxx/
- Collect the selftest fixes from the two patches in v1
patches: #1, #5, #6 and #7.
- Add three new patches: #2, #3 and #4.

Changes in v1:
- https://lore.kernel.org/bpf/20261012135624.2749743-1-kafai.wan@xxxxxxxxx/T/
- https://lore.kernel.org/bpf/20261012140202.2754552-1-kafai.wan@xxxxxxxxx/T/

---
KaFai Wan (4):
bpf: Determine freplace staticness from BTF linkage
selftests/bpf: Fix stack_arg precision backtracking log expectation
selftests/bpf: Fix stack arg pruning test JOIN log expectation
selftests/bpf: Use _exit() in uprobe_multi_test clone-ed child

kernel/bpf/verifier.c | 3 ++-
tools/testing/selftests/bpf/prog_tests/exceptions.c | 2 +-
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c | 4 ++--
tools/testing/selftests/bpf/progs/stack_arg_precision.c | 4 ++--
tools/testing/selftests/bpf/progs/verifier_stack_arg.c | 4 ++--
5 files changed, 9 insertions(+), 8 deletions(-)

--
2.43.0