diff options
| author | 2018-09-14 15:26:37 -0700 | |
|---|---|---|
| committer | 2019-01-08 13:18:43 -0800 | |
| commit | 70b62c25665f636c9f6c700b26af7df296b0887e (patch) | |
| tree | 03986a41ef6ecdf30b444124c4ef525365cad3bc /include/linux/lsm_hooks.h | |
| parent | LSM: Split LSM preparation from initialization (diff) | |
| download | wireguard-linux-70b62c25665f636c9f6c700b26af7df296b0887e.tar.xz wireguard-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 '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 */ |
