diff options
author | KP Singh <kpsingh@google.com> | 2020-03-29 01:43:53 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-30 01:34:00 +0200 |
commit | 520b7aa00d8cd8e411ecc09f63a2acd90feb6d29 (patch) | |
tree | 226910e9b7b3b6778dbe962e611b4c6059601b7b /security/bpf/Makefile | |
parent | 9e4e01dfd3254c7f04f24b7c6b29596bc12332f3 (diff) | |
download | lwn-520b7aa00d8cd8e411ecc09f63a2acd90feb6d29.tar.gz lwn-520b7aa00d8cd8e411ecc09f63a2acd90feb6d29.zip |
bpf: lsm: Initialize the BPF LSM hooks
* 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@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Florent Revest <revest@google.com>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: James Morris <jamorris@linux.microsoft.com>
Link: https://lore.kernel.org/bpf/20200329004356.27286-6-kpsingh@chromium.org
Diffstat (limited to 'security/bpf/Makefile')
-rw-r--r-- | security/bpf/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/bpf/Makefile b/security/bpf/Makefile new file mode 100644 index 000000000000..c7a89a962084 --- /dev/null +++ b/security/bpf/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2020 Google LLC. + +obj-$(CONFIG_BPF_LSM) := hooks.o |