diff options
author | Tao Chen <chen.dylane@linux.dev> | 2025-07-16 21:46:53 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-16 18:38:05 -0700 |
commit | 19d18fdfc79217c86802271c9ce5b4ed174628cc (patch) | |
tree | a6a54cca9f852079668d034830a22c6773acb409 /scripts/lib/kdoc/kdoc_re.py | |
parent | 8080500cba05d057dc6cfe4b6afbaf026eb2dd06 (diff) |
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 <andrii@kernel.org>
Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Link: https://lore.kernel.org/r/20250716134654.1162635-1-chen.dylane@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions