commit | f99bf205dab026ef434520198af2fcb7dae0efdb | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Thu Nov 19 11:56:22 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 20 11:04:15 2015 -0500 |
tree | 8cb3f0004875ebb38f404b1297bcc79e2ba6400e | |
parent | 7b5dc0dd59a8e5cf837c941ab10a565dcca76603 [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>