[PATCH bpf-next RFC v1 3/5] libbpf: Add bpf_probe_map_type support for file local storage
Kumar Kartikeya Dwivedi
memxor at gmail.com
Sat Aug 21 18:48:22 UTC 2021
Signed-off-by: Kumar Kartikeya Dwivedi <memxor at gmail.com>
---
tools/lib/bpf/libbpf_probes.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/lib/bpf/libbpf_probes.c b/tools/lib/bpf/libbpf_probes.c
index cd8c703dde71..a97f2088c53a 100644
--- a/tools/lib/bpf/libbpf_probes.c
+++ b/tools/lib/bpf/libbpf_probes.c
@@ -233,6 +233,7 @@ bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex)
case BPF_MAP_TYPE_SK_STORAGE:
case BPF_MAP_TYPE_INODE_STORAGE:
case BPF_MAP_TYPE_TASK_STORAGE:
+ case BPF_MAP_TYPE_FILE_STORAGE:
btf_key_type_id = 1;
btf_value_type_id = 3;
value_size = 8;
--
2.33.0
More information about the Linux-security-module-archive
mailing list