aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-10-10 17:18:21 -0700
committerJames Morris <james.morris@microsoft.com>2018-10-10 20:40:21 -0700
commit5b89c1bd4c7e5c5ca8c5374fde35ecee6e16496c (patch)
tree1149bf533d702366169684a6ea71254f2d8917d6 /include/linux/module.h
parentLSM: Remove initcall tracing (diff)
downloadlinux-dev-5b89c1bd4c7e5c5ca8c5374fde35ecee6e16496c.tar.xz
linux-dev-5b89c1bd4c7e5c5ca8c5374fde35ecee6e16496c.zip
LSM: Convert from initcall to struct lsm_info
In preparation for doing more interesting LSM init probing, this converts the existing initcall system into an explicit call into a function pointer from a section-collected struct lsm_info array. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: James Morris <james.morris@microsoft.com> Reviewed-by: John Johansen <john.johansen@canonical.com> Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index f807f15bebbe..264979283756 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -123,7 +123,6 @@ extern void cleanup_module(void);
#define late_initcall_sync(fn) module_init(fn)
#define console_initcall(fn) module_init(fn)
-#define security_initcall(fn) module_init(fn)
/* Each module must use one module_init(). */
#define module_init(initfn) \