aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-11-30 10:52:17 -0800
committerAlexei Starovoitov <[email protected]>2023-12-06 10:02:59 -0800
commitee54b1a910e4d49c9a104f31ae3f5b979131adf8 (patch)
treee194d7f010b8356f8530f8c923b899418b6befb7 /tools/testing/selftests/bpf/progs/test_autoload.c
parent688b7270b3cb75e8ac78123d719967db40336e5b (diff)
bpf: add BPF token support to BPF_BTF_LOAD command
Accept BPF token FD in BPF_BTF_LOAD command to allow BTF data loading through delegated BPF token. BTF loading is a pretty straightforward operation, so as long as BPF token is created with allow_cmds granting BPF_BTF_LOAD command, kernel proceeds to parsing BTF data and creating BTF object. 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