summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-09-15 01:26:37 +0300
committerKees Cook <keescook@chromium.org>2019-01-09 00:18:43 +0300
commit70b62c25665f636c9f6c700b26af7df296b0887e (patch)
tree03986a41ef6ecdf30b444124c4ef525365cad3bc /include
parentd8e9bbd4fa7f654bd877a312fc4104c6e5e5c6ca (diff)
downloadlinux-70b62c25665f636c9f6c700b26af7df296b0887e.tar.xz
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 'include')
-rw-r--r--include/linux/lsm_hooks.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h
index c3843b33da9e..fb1a653ccfcb 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -2095,10 +2095,5 @@ extern void __init yama_add_hooks(void);
#else
static inline void __init yama_add_hooks(void) { }
#endif
-#ifdef CONFIG_SECURITY_LOADPIN
-void __init loadpin_add_hooks(void);
-#else
-static inline void loadpin_add_hooks(void) { };
-#endif
#endif /* ! __LINUX_LSM_HOOKS_H */