diff options
author | Kees Cook <keescook@chromium.org> | 2018-09-15 01:26:37 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-01-09 00:18:43 +0300 |
commit | 70b62c25665f636c9f6c700b26af7df296b0887e (patch) | |
tree | 03986a41ef6ecdf30b444124c4ef525365cad3bc /include/linux/lsm_hooks.h | |
parent | d8e9bbd4fa7f654bd877a312fc4104c6e5e5c6ca (diff) | |
download | linux-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/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 5 |
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 */ |