commit | d79a3549754725bb90e58104417449edddf3da3d | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Tue Jan 23 18:21:05 2024 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Jan 24 16:21:01 2024 -0800 |
tree | dbcb8b033e1d9bc85127d229aa6d7bd3b933e356 | |
parent | bbc1d24724e110b86a1a7c3c1724ce0d62cc1e2e [diff] |
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