diff options
author | 2023-11-30 10:52:20 -0800 | |
---|---|---|
committer | 2023-12-06 10:02:59 -0800 | |
commit | 8062fb12de99b2da33754c6a3be1bfc30d9a35f4 (patch) | |
tree | 5c70426f65a08c9b76c69c95fe98f1e44ef05b5e /tools/testing/selftests/bpf/prog_tests | |
parent | bpf: take into account BPF token when fetching helper protos (diff) | |
download | wireguard-linux-8062fb12de99b2da33754c6a3be1bfc30d9a35f4.tar.xz wireguard-linux-8062fb12de99b2da33754c6a3be1bfc30d9a35f4.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>
Link: https://lore.kernel.org/r/20231130185229.2688956-9-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions