[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ad75b9e-5733-d5b7-3295-5d8915b19dfe@fb.com>
Date: Mon, 23 Mar 2020 12:02:38 -0700
From: Yonghong Song <yhs@...com>
To: KP Singh <kpsingh@...omium.org>, <linux-kernel@...r.kernel.org>,
<bpf@...r.kernel.org>, <linux-security-module@...r.kernel.org>
CC: Brendan Jackman <jackmanb@...gle.com>,
Florent Revest <revest@...gle.com>,
Thomas Garnier <thgarnie@...gle.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
James Morris <jmorris@...ei.org>,
Kees Cook <keescook@...omium.org>,
Paul Turner <pjt@...gle.com>, Jann Horn <jannh@...gle.com>,
Florent Revest <revest@...omium.org>,
Brendan Jackman <jackmanb@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH bpf-next v5 1/7] bpf: Introduce BPF_PROG_TYPE_LSM
On 3/23/20 9:44 AM, KP Singh wrote:
> From: KP Singh <kpsingh@...gle.com>
>
> Introduce types and configs for bpf programs that can be attached to
> LSM hooks. The programs can be enabled by the config option
> CONFIG_BPF_LSM.
>
> Signed-off-by: KP Singh <kpsingh@...gle.com>
> Reviewed-by: Brendan Jackman <jackmanb@...gle.com>
> Reviewed-by: Florent Revest <revest@...gle.com>
> Reviewed-by: Thomas Garnier <thgarnie@...gle.com>
Acked-by: Yonghong Song <yhs@...com>
> ---
> MAINTAINERS | 1 +
> include/linux/bpf.h | 3 +++
> include/linux/bpf_types.h | 4 ++++
> include/uapi/linux/bpf.h | 2 ++
> init/Kconfig | 10 ++++++++++
> kernel/bpf/Makefile | 1 +
> kernel/bpf/bpf_lsm.c | 17 +++++++++++++++++
> kernel/trace/bpf_trace.c | 12 ++++++------
> tools/include/uapi/linux/bpf.h | 2 ++
> tools/lib/bpf/libbpf_probes.c | 1 +
You may want to check bpftool support for new prog types
for proper output. It should be a simple change.
> 10 files changed, 47 insertions(+), 6 deletions(-)
> create mode 100644 kernel/bpf/bpf_lsm.c
[...]
Powered by blists - more mailing lists