diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-01-23 18:21:05 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-01-24 16:21:01 -0800 |
commit | d79a3549754725bb90e58104417449edddf3da3d (patch) | |
tree | dbcb8b033e1d9bc85127d229aa6d7bd3b933e356 /security/selinux/hooks.c | |
parent | bbc1d24724e110b86a1a7c3c1724ce0d62cc1e2e (diff) | |
download | lwn-d79a3549754725bb90e58104417449edddf3da3d.tar.gz lwn-d79a3549754725bb90e58104417449edddf3da3d.zip |
bpf: Consistently use BPF token throughout BPF verifier logic
Remove remaining direct queries to perfmon_capable() and bpf_capable()
in BPF verifier logic and instead use BPF token (if available) to make
decisions about privileges.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20240124022127.2379740-9-andrii@kernel.org
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions