[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160915200944.GA74433@ast-mbp.thefacebook.com>
Date: Thu, 15 Sep 2016 13:09:46 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
jiri@...nulli.us, john.fastabend@...il.com, kubakici@...pl
Subject: Re: [PATCHv4 net-next 05/15] bpf: expose internal verfier structures
On Thu, Sep 15, 2016 at 08:12:25PM +0100, Jakub Kicinski wrote:
> Move verifier's internal structures to a header file and
> prefix their names with bpf_ to avoid potential namespace
> conflicts. Those structures will soon be used by external
> analyzers.
>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> ---
> v4:
> - separate from adding the analyzer;
> - squash with the prefixing patch.
> ---
> include/linux/bpf_verifier.h | 78 +++++++++++++
> kernel/bpf/verifier.c | 263 +++++++++++++++++--------------------------
> 2 files changed, 180 insertions(+), 161 deletions(-)
> create mode 100644 include/linux/bpf_verifier.h
>
> diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h
> new file mode 100644
> index 000000000000..1c0511ef7eaf
> --- /dev/null
> +++ b/include/linux/bpf_verifier.h
...
> +#ifndef _LINUX_BPF_ANALYZER_H
> +#define _LINUX_BPF_ANALYZER_H 1
the macro doesn't match the file name.
Other than that
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists