bpf: add bpf_func_t and trampoline helpers
authorStanislav Fomichev <sdf@google.com>
Tue, 28 Jun 2022 17:43:04 +0000 (10:43 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Jun 2022 20:21:51 +0000 (13:21 -0700)
commitaf3f4134006bf3bf894179c08aaf98ed5938cf4e
tree7d990555da495ec1a5acd01a6484a8fc4a9d867c
parentc5c7358e4c76e2017a6566a29208996fcca75200
bpf: add bpf_func_t and trampoline helpers

I'll be adding lsm cgroup specific helpers that grab
trampoline mutex.

No functional changes.

Reviewed-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20220628174314.1216643-2-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf.h
kernel/bpf/trampoline.c