summaryrefslogtreecommitdiff
path: root/crypto/blowfish_generic.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2022-08-23 04:31:17 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-08-24 02:21:59 +0300
commit5679ff2f138f77b281c468959dc5022cc524d400 (patch)
tree8a9fed6c23507723412c96b55fe5455b1d432f62 /crypto/blowfish_generic.c
parentf52c8947347d43546581ab1bf8fa19867b664a8c (diff)
downloadlinux-5679ff2f138f77b281c468959dc5022cc524d400.tar.xz
bpf: Move bpf_loop and bpf_for_each_map_elem under CAP_BPF
They would require func_info which needs prog BTF anyway. Loading BTF and setting the prog btf_fd while loading the prog indirectly requires CAP_BPF, so just to reduce confusion, move both these helpers taking callback under bpf_capable() protection as well, since they cannot be used without CAP_BPF. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20220823013117.24916-1-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'crypto/blowfish_generic.c')
0 files changed, 0 insertions, 0 deletions