diff options
| author | 2024-01-23 18:21:11 -0800 | |
|---|---|---|
| committer | 2024-01-24 16:21:02 -0800 | |
| commit | a3d63e85253b6c9b6aa34b99208e835358a91320 (patch) | |
| tree | fdf847731b6ff09709d6974714e7a49a48dd241f /scripts/Makefile.thinlto | |
| parent | libbpf: Add BPF token support to bpf_map_create() API (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
