aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-11-30 10:52:20 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-06 10:02:59 -0800
commit8062fb12de99b2da33754c6a3be1bfc30d9a35f4 (patch)
tree5c70426f65a08c9b76c69c95fe98f1e44ef05b5e /tools/testing/selftests/bpf/prog_tests
parentbpf: take into account BPF token when fetching helper protos (diff)
downloadwireguard-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