diff options
author | Kees Cook <keescook@chromium.org> | 2018-09-15 00:40:45 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2019-01-08 22:18:44 +0100 |
commit | d117a154e6128abac5409d3f173584e7b25981a2 (patch) | |
tree | 86a2adfff727e41102deedc94488559bd8759522 /security/security.c | |
parent | LSM: Introduce enum lsm_order (diff) | |
download | linux-d117a154e6128abac5409d3f173584e7b25981a2.tar.xz linux-d117a154e6128abac5409d3f173584e7b25981a2.zip |
capability: Initialize as LSM_ORDER_FIRST
This converts capabilities to use the new LSM_ORDER_FIRST position.
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 | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/security.c b/security/security.c index 8b673bb2a0dd..9411f659454b 100644 --- a/security/security.c +++ b/security/security.c @@ -277,11 +277,6 @@ int __init security_init(void) i++) INIT_HLIST_HEAD(&list[i]); - /* - * Load minor LSMs, with the capability module always first. - */ - capability_add_hooks(); - /* Load LSMs in specified order. */ ordered_lsm_init(); |