summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorYauheni Kaliuta <ykaliuta@redhat.com>2022-09-05 12:01:49 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-09-16 23:11:57 +0300
commitbfeb7e399bacae4ee46ad978f5fce3e47f0978d6 (patch)
tree0ee3057e1cda838babe5b1fcbe198c3fa377f3b1 /kernel
parenta02c118ee9e898612cbae42121b9e8663455b515 (diff)
downloadlinux-bfeb7e399bacae4ee46ad978f5fce3e47f0978d6.tar.xz
bpf: Use bpf_capable() instead of CAP_SYS_ADMIN for blinding decision
The full CAP_SYS_ADMIN requirement for blinding looks too strict nowadays. These days given unprivileged BPF is disabled by default, the main users for constant blinding coming from unprivileged in particular via cBPF -> eBPF migration (e.g. old-style socket filters). Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220831090655.156434-1-ykaliuta@redhat.com Link: https://lore.kernel.org/bpf/20220905090149.61221-1-ykaliuta@redhat.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions