bpftool-token
tool for inspection and simple manipulation of eBPF tokens
- Provided by: bpftool (Version: 7.7.0+7.0.0-14.14)
- Source: linux
- Report a bug
tool for inspection and simple manipulation of eBPF tokens
bpftool [OPTIONS] token COMMAND
OPTIONS := { { -j | --json } [{ -p | --pretty }] | { -d | --debug } }
COMMANDS := { show | list | help }
bpftool token { show | list }
bpftool token help
# mkdir -p /sys/fs/bpf/token # mount -t bpf bpffs /sys/fs/bpf/token -o delegate_cmds=prog_load:map_create -o delegate_progs=kprobe -o delegate_attachs=xdp # bpftool token list
token_info /sys/fs/bpf/token
allowed_cmds:
map_create prog_load
allowed_maps:
allowed_progs:
kprobe
allowed_attachs:
xdp
bpf(2), bpf-helpers(7), bpftool(8), bpftool-btf(8), bpftool-cgroup(8), bpftool-feature(8), bpftool-gen(8), bpftool-iter(8), bpftool-link(8), bpftool-map(8), bpftool-net(8), bpftool-perf(8), bpftool-prog(8), bpftool-struct_ops(8)