[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181213013942.dh65h7hp4bteahku@kafai-mbp.dhcp.thefacebook.com>
Date: Thu, 13 Dec 2018 01:39:44 +0000
From: Martin Lau <kafai@...com>
To: Song Liu <songliubraving@...com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"ast@...nel.org" <ast@...nel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH v3 bpf-next 1/2] bpf: include sub program tags in
bpf_prog_info
On Wed, Dec 12, 2018 at 09:37:46AM -0800, Song Liu wrote:
> Changes v2 -> v3:
> 1. remove check for bpf_dump_raw_ok().
>
> Changes v1 -> v2:
> 1. Fix error path as Martin suggested.
>
> This patch adds nr_prog_tags and prog_tags to bpf_prog_info. This is a
> reliable way for user space to get tags of all sub programs. Before this
> patch, user space need to find sub program tags via kallsyms.
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists