]> 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)
commit35fac3f431a41d315945fc5d5ededbdc66b949e2
treed368e914e67ed22be56ee22b64124487df5af1fd
parent6de62a2068085547f0782b47993e12b0ce2ea2c5
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