aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-11-30 10:52:26 -0800
committerAlexei Starovoitov <[email protected]>2023-12-06 10:03:00 -0800
commit1a8df7fa00aac35aff9ef1941c5334b3a01d09e4 (patch)
tree59d1151a9cfb1cf98a61ab9ed845ed2873e2128c /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent37891cea6699200fb83eae464ebe1c0f73040474 (diff)
libbpf: add BPF token support to bpf_btf_load() API
Allow user to specify token_fd for bpf_btf_load() API that wraps kernel's BPF_BTF_LOAD command. This allows loading BTF from unprivileged process as long as it has BPF token allowing BPF_BTF_LOAD command, which can be created and delegated by privileged process. 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_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions