[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230321051951.58223-1-alexei.starovoitov@gmail.com>
Date: Mon, 20 Mar 2023 22:19:47 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: davem@...emloft.net
Cc: daniel@...earbox.net, andrii@...nel.org, martin.lau@...nel.org,
void@...ifault.com, davemarchevsky@...a.com, tj@...nel.org,
memxor@...il.com, netdev@...r.kernel.org, bpf@...r.kernel.org,
kernel-team@...com
Subject: [PATCH bpf-next 0/4] bpf: Support ksym detection in light skeleton.
From: Alexei Starovoitov <ast@...nel.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(-)
--
2.34.1
Powered by blists - more mailing lists