diff options
author | Kees Cook <keescook@chromium.org> | 2018-09-14 18:37:20 -0400 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-01-08 16:18:43 -0500 |
commit | d6aed64b74b73b64278c059eacd59d87167aa968 (patch) | |
tree | 0fd4b2e95d633d09a9f3d7e3711aeab68d328e88 /include/linux/lsm_hooks.h | |
parent | 70b62c25665f636c9f6c700b26af7df296b0887e (diff) |
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/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 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, | |||
2090 | #endif /* CONFIG_SECURITY_WRITABLE_HOOKS */ | 2090 | #endif /* CONFIG_SECURITY_WRITABLE_HOOKS */ |
2091 | 2091 | ||
2092 | extern void __init capability_add_hooks(void); | 2092 | extern void __init capability_add_hooks(void); |
2093 | #ifdef CONFIG_SECURITY_YAMA | ||
2094 | extern void __init yama_add_hooks(void); | ||
2095 | #else | ||
2096 | static inline void __init yama_add_hooks(void) { } | ||
2097 | #endif | ||
2098 | 2093 | ||
2099 | #endif /* ! __LINUX_LSM_HOOKS_H */ | 2094 | #endif /* ! __LINUX_LSM_HOOKS_H */ |