From 3ec827810672b26c04150948db620adb1d4e6acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 19 Dec 2025 03:10:46 -0500 Subject: [PATCH] doc/bpf-tokens: Fix markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- doc/explanation/bpf-tokens.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/explanation/bpf-tokens.md b/doc/explanation/bpf-tokens.md index 1a8e272ff..6a4a79055 100644 --- a/doc/explanation/bpf-tokens.md +++ b/doc/explanation/bpf-tokens.md @@ -14,24 +14,24 @@ The permissible values for these options depend on the kernel version and can be (`include/uapi/linux/bpf.h` in the kernel tree, `/usr/include/linux/bpf.h` on most distributions if you have the kernel sources installed): - Key | Kernel `enum` | Remove prefix - :-- |:-- | :-- - `security.bpffs.delegate_cmds` | `bpf_cmd` | `BPF_` - `security.bpffs.delegate_maps` | `bpf_map_type` | `BPF_MAP_TYPE_` - `security.bpffs.delegate_progs` | `bpf_prog_type` | `BPF_PROG_TYPE_` - `security.bpffs.delegate_attachs` | `bpf_attach_type` | `BPF_` +| Key | Kernel `enum` | Remove prefix | +| :--- | :--- | :--- | +| `security.bpffs.delegate_cmds` | `bpf_cmd` | `BPF_` | +| `security.bpffs.delegate_maps` | `bpf_map_type` | `BPF_MAP_TYPE_` | +| `security.bpffs.delegate_progs` | `bpf_prog_type` | `BPF_PROG_TYPE_` | +| `security.bpffs.delegate_attachs` | `bpf_attach_type` | `BPF_` | Each of these options takes a comma-separated list of values, additionally the value `any` is supported to delegate all possible values of the type. ## Example - Key | Value - :-- | :-- - `security.bpffs.delegate_cmds` | `map_create,obj_get,link_create` - `security.bpffs.delegate_maps` | `hash,array,devmap,queue,stack` - `security.bpffs.delegate_progs` | `socket_filter,kprobe,cgroup_sysctl` - `security.bpffs.delegate_attachs` | `any` +| Key | Value | +| :--- | :--- | +| `security.bpffs.delegate_cmds` | `map_create,obj_get,link_create` | +| `security.bpffs.delegate_maps` | `hash,array,devmap,queue,stack` | +| `security.bpffs.delegate_progs` | `socket_filter,kprobe,cgroup_sysctl` | +| `security.bpffs.delegate_attachs` | `any` | ```bash $ mount -t bpf