[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151119183240.GA5993@ast-mbp.thefacebook.com>
Date: Thu, 19 Nov 2015 10:32:41 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: Daniel Borkmann <daniel@...earbox.net>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: add show_fdinfo handler for maps
On Thu, Nov 19, 2015 at 07:19:24PM +0100, Hannes Frederic Sowa wrote:
> On Thu, Nov 19, 2015, at 11:56, Daniel Borkmann wrote:
> > 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@...earbox.net>
>
> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
>
> Does it make sense to include bpf_htab->count in case of a hashmap?
no. user space should not rely on such things. It can only be misused.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists