[PATCH bpf-next v7 5/8] bpf: lsm: Initialize the BPF LSM hooks
James Morris
jmorris at namei.org
Fri Mar 27 00:29:58 UTC 2020
On Thu, 26 Mar 2020, KP Singh wrote:
> From: KP Singh <kpsingh at google.com>
>
> * The hooks are initialized using the definitions in
> include/linux/lsm_hook_defs.h.
> * The LSM can be enabled / disabled with CONFIG_BPF_LSM.
>
> Signed-off-by: KP Singh <kpsingh at google.com>
> Acked-by: Kees Cook <keescook at chromium.org>
> Reviewed-by: Brendan Jackman <jackmanb at google.com>
> Reviewed-by: Florent Revest <revest at google.com>
> ---
> security/Kconfig | 10 +++++-----
> security/Makefile | 2 ++
> security/bpf/Makefile | 5 +++++
> security/bpf/hooks.c | 26 ++++++++++++++++++++++++++
> 4 files changed, 38 insertions(+), 5 deletions(-)
> create mode 100644 security/bpf/Makefile
> create mode 100644 security/bpf/hooks.c
Acked-by: James Morris <jamorris at linux.microsoft.com>
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list