diff options
| author | Tao Chen <[email protected]> | 2025-07-16 13:46:53 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-07-17 01:38:05 +0000 |
| commit | 19d18fdfc79217c86802271c9ce5b4ed174628cc (patch) | |
| tree | a6a54cca9f852079668d034830a22c6773acb409 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | libbpf: start v1.7 dev cycle (diff) | |
| download | kernel-19d18fdfc79217c86802271c9ce5b4ed174628cc.tar.gz kernel-19d18fdfc79217c86802271c9ce5b4ed174628cc.zip | |
bpf: Add struct bpf_token_info
The 'commit 35f96de04127 ("bpf: Introduce BPF token object")' added
BPF token as a new kind of BPF kernel object. And BPF_OBJ_GET_INFO_BY_FD
already used to get BPF object info, so we can also get token info with
this cmd.
One usage scenario, when program runs failed with token, because of
the permission failure, we can report what BPF token is allowing with
this API for debugging.
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Tao Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
