summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-09-15 00:26:37 +0200
committerKees Cook <keescook@chromium.org>2019-01-08 22:18:43 +0100
commit70b62c25665f636c9f6c700b26af7df296b0887e (patch)
tree03986a41ef6ecdf30b444124c4ef525365cad3bc /security/security.c
parentLSM: Split LSM preparation from initialization (diff)
downloadlinux-70b62c25665f636c9f6c700b26af7df296b0887e.tar.xz
linux-70b62c25665f636c9f6c700b26af7df296b0887e.zip
LoadPin: Initialize as ordered LSM
This converts LoadPin from being a direct "minor" LSM into an ordered LSM. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index 46c5b0fa515e..b8d75f5a948d 100644
--- a/security/security.c
+++ b/security/security.c
@@ -275,7 +275,6 @@ int __init security_init(void)
*/
capability_add_hooks();
yama_add_hooks();
- loadpin_add_hooks();
/* Load LSMs in specified order. */
ordered_lsm_init();