mbox series

[bpf-next,0/4] bpf: Support ksym detection in light skeleton.

Message ID 20230321051951.58223-1-alexei.starovoitov@gmail.com (mailing list archive)
Headers show
Series bpf: Support ksym detection in light skeleton. | expand

Message

Alexei Starovoitov March 21, 2023, 5:19 a.m. UTC
From: Alexei Starovoitov <ast@kernel.org>

Patch 1: Cleanup internal libbpf names.
Patch 2: Teach the verifier that rdonly_mem != NULL.
Patch 3: Fix gen_loader to support ksym detection.
Patch 4: Selftest.

Alexei Starovoitov (4):
  libbpf: Rename RELO_EXTERN_VAR/FUNC.
  bpf: Teach the verifier to recognize rdonly_mem as not null.
  libbpf: Support kfunc detection in light skeleton.
  selftests/bpf: Add light skeleton test for kfunc detection.

 kernel/bpf/verifier.c                         | 14 ++++---
 tools/lib/bpf/bpf_gen_internal.h              |  4 +-
 tools/lib/bpf/gen_loader.c                    | 38 +++++++++----------
 tools/lib/bpf/libbpf.c                        | 25 ++++++------
 .../selftests/bpf/progs/test_ksyms_weak.c     | 15 ++++++++
 5 files changed, 60 insertions(+), 36 deletions(-)