On Thu, 26 Mar 2020, KP Singh wrote: > From: KP Singh <kpsingh@xxxxxxxxxx> > > * 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@xxxxxxxxxx> > Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> > Reviewed-by: Brendan Jackman <jackmanb@xxxxxxxxxx> > Reviewed-by: Florent Revest <revest@xxxxxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx>