libbpf: Add bpf_token_create() API

Add low-level wrapper API for BPF_TOKEN_CREATE command in bpf() syscall.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20240124022127.2379740-13-andrii@kernel.org
This commit is contained in:
Andrii Nakryiko
2024-01-23 18:21:09 -08:00
committed by Andrii Nakryiko
parent 21fb08cb35
commit 5cc8482fe2
3 changed files with 42 additions and 0 deletions

View File

@@ -411,4 +411,5 @@ LIBBPF_1.3.0 {
} LIBBPF_1.2.0;
LIBBPF_1.4.0 {
bpf_token_create;
} LIBBPF_1.3.0;