Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf: Export bpf_base_func_proto

The bpf_testmod needs to use the bpf_tail_call helper in
a later selftest patch. This patch is to EXPORT_GPL_SYMBOL
the bpf_base_func_proto.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240829210833.388152-5-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Martin KaFai Lau and committed by
Alexei Starovoitov
866d571e 169c3176

+1
+1
kernel/bpf/helpers.c
··· 2034 2034 return NULL; 2035 2035 } 2036 2036 } 2037 + EXPORT_SYMBOL_GPL(bpf_base_func_proto); 2037 2038 2038 2039 void bpf_list_head_free(const struct btf_field *field, void *list_head, 2039 2040 struct bpf_spin_lock *spin_lock)