]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Allow kfunc in tracing and syscall programs.
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 18 May 2022 20:59:08 +0000 (22:59 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 21 May 2022 02:28:33 +0000 (19:28 -0700)
commitd1108e0f4a1b617a700f970b831498821f6d888c
treed368e914e67ed22be56ee22b64124487df5af1fd
parentc5da315b2a1f1dcdfa249900616ed06d220e8b4a
bpf: Allow kfunc in tracing and syscall programs.

Tracing and syscall BPF program types are very convenient to add BPF
capabilities to subsystem otherwise not BPF capable.
When we add kfuncs capabilities to those program types, we can add
BPF features to subsystems without having to touch BPF core.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20220518205924.399291-2-benjamin.tissoires@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c