aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-09-14 15:40:45 -0700
committerKees Cook <keescook@chromium.org>2019-01-08 13:18:44 -0800
commitd117a154e6128abac5409d3f173584e7b25981a2 (patch)
tree86a2adfff727e41102deedc94488559bd8759522 /include
parentLSM: Introduce enum lsm_order (diff)
downloadlinux-dev-d117a154e6128abac5409d3f173584e7b25981a2.tar.xz
linux-dev-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 'include')
-rw-r--r--include/linux/lsm_hooks.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h
index 27d4db9588bb..0c908c091a03 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -2095,6 +2095,4 @@ static inline void security_delete_hooks(struct security_hook_list *hooks,
#define __lsm_ro_after_init __ro_after_init
#endif /* CONFIG_SECURITY_WRITABLE_HOOKS */
-extern void __init capability_add_hooks(void);
-
#endif /* ! __LINUX_LSM_HOOKS_H */