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>
This commit is contained in:
@@ -274,7 +274,6 @@ int __init security_init(void)
|
||||
* Load minor LSMs, with the capability module always first.
|
||||
*/
|
||||
capability_add_hooks();
|
||||
yama_add_hooks();
|
||||
|
||||
/* Load LSMs in specified order. */
|
||||
ordered_lsm_init();
|
||||
|
Reference in New Issue
Block a user