diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-30 10:52:17 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-06 10:02:59 -0800 |
commit | ee54b1a910e4d49c9a104f31ae3f5b979131adf8 (patch) | |
tree | e194d7f010b8356f8530f8c923b899418b6befb7 /io_uring/refs.h | |
parent | 688b7270b3cb75e8ac78123d719967db40336e5b (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 <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231130185229.2688956-6-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'io_uring/refs.h')
0 files changed, 0 insertions, 0 deletions