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 /security/security.c | |
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 'security/security.c')
-rw-r--r-- | security/security.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index b8d75f5a948d..35f93b7c585b 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -274,7 +274,6 @@ int __init security_init(void) | |||
274 | * Load minor LSMs, with the capability module always first. | 274 | * Load minor LSMs, with the capability module always first. |
275 | */ | 275 | */ |
276 | capability_add_hooks(); | 276 | capability_add_hooks(); |
277 | yama_add_hooks(); | ||
278 | 277 | ||
279 | /* Load LSMs in specified order. */ | 278 | /* Load LSMs in specified order. */ |
280 | ordered_lsm_init(); | 279 | ordered_lsm_init(); |