aboutsummaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorAndrii Nakryiko2024-01-23 18:21:11 -0800
committerAlexei Starovoitov2024-01-24 16:21:02 -0800
commita3d63e85253b6c9b6aa34b99208e835358a91320 (patch)
treefdf847731b6ff09709d6974714e7a49a48dd241f /.cocciconfig
parent364f848375af311150210a1ad3c5bcb800b65b48 (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. Wire through new btf_flags as well, so that user can provide BPF_F_TOKEN_FD flag, if necessary. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20240124022127.2379740-15-andrii@kernel.org
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions