diff options
author | Andrii Nakryiko <[email protected]> | 2023-11-30 10:52:20 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-12-06 10:02:59 -0800 |
commit | 8062fb12de99b2da33754c6a3be1bfc30d9a35f4 (patch) | |
tree | 5c70426f65a08c9b76c69c95fe98f1e44ef05b5e /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 4cbb270e115bc197ff2046aeb54cc951666b16ec (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions