diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-30 19:52:24 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-06 19:03:00 +0100 |
commit | ecd435143eb03611e25694141bf59d1c04ad5b9e (patch) | |
tree | bdf126a236403522427e17dfb69c834f9248d76a /tools/lib/bpf/libbpf.map | |
parent | bpf,lsm: add BPF token LSM hooks (diff) | |
download | linux-ecd435143eb03611e25694141bf59d1c04ad5b9e.tar.xz linux-ecd435143eb03611e25694141bf59d1c04ad5b9e.zip |
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>
Link: https://lore.kernel.org/r/20231130185229.2688956-13-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index 91c5aef7dae7..df7657b65c47 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map @@ -401,6 +401,7 @@ LIBBPF_1.3.0 { bpf_program__attach_netkit; bpf_program__attach_tcx; bpf_program__attach_uprobe_multi; + bpf_token_create; ring__avail_data_size; ring__consume; ring__consumer_pos; |