diff options
author | Kees Cook <keescook@chromium.org> | 2018-09-14 15:37:20 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-01-08 13:18:43 -0800 |
commit | d6aed64b74b73b64278c059eacd59d87167aa968 (patch) | |
tree | 0fd4b2e95d633d09a9f3d7e3711aeab68d328e88 /include | |
parent | 70b62c25665f636c9f6c700b26af7df296b0887e (diff) | |
download | linux-stable-d6aed64b74b73b64278c059eacd59d87167aa968.tar.gz linux-stable-d6aed64b74b73b64278c059eacd59d87167aa968.tar.bz2 linux-stable-d6aed64b74b73b64278c059eacd59d87167aa968.zip |
Yama: Initialize as ordered LSM
This converts Yama 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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index fb1a653ccfcb..2849e9b2c01d 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -2090,10 +2090,5 @@ static inline void security_delete_hooks(struct security_hook_list *hooks, #endif /* CONFIG_SECURITY_WRITABLE_HOOKS */ extern void __init capability_add_hooks(void); -#ifdef CONFIG_SECURITY_YAMA -extern void __init yama_add_hooks(void); -#else -static inline void __init yama_add_hooks(void) { } -#endif #endif /* ! __LINUX_LSM_HOOKS_H */ |