diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-11-19 11:56:22 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:49:51 +0300 |
commit | 8c55ad7b96e4c5c8d182ca2f098a65fdf5551bf5 (patch) | |
tree | 002d94275e23f94cdf9c9e511cc83ee22d832846 /kernel/bpf/inode.c | |
parent | 4c60d1c4fe45588f4d15c3887b6c94993f7b4b9c (diff) |
bpf: add show_fdinfo handler for maps
Add a handler for show_fdinfo() to be used by the anon-inodes
backend for eBPF maps, and dump the map specification there. Not
only useful for admins, but also it provides a minimal way to
compare specs from ELF vs pinned object.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/inode.c')
0 files changed, 0 insertions, 0 deletions