diff options
author | 2023-07-19 09:29:49 +0000 | |
---|---|---|
committer | 2023-07-19 09:48:52 -0700 | |
commit | 831deb2976de4458adae4daee56aa6f740ed4acc (patch) | |
tree | f89de69326bf7974e66fd4f2bf0fcbf162adc20a /kernel/bpf/helpers.c | |
parent | bpf: Drop useless btf_vmlinux in bpf_tcp_ca (diff) | |
download | linux-rng-831deb2976de4458adae4daee56aa6f740ed4acc.tar.xz linux-rng-831deb2976de4458adae4daee56aa6f740ed4acc.zip |
bpf: consider types listed in reg2btf_ids as trusted
The reg2btf_ids array contains a list of types for which we can (and need)
to find a corresponding static BTF id. All the types in the list can be
considered as trusted for purposes of kfuncs.
Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Link: https://lore.kernel.org/r/20230719092952.41202-2-aspsk@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions