summaryrefslogtreecommitdiff
path: root/security/inode.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2025-02-18 17:25:20 -0500
committerPaul Moore <paul@paul-moore.com>2025-10-22 19:24:28 -0400
commit4ab5efcc2829a38a3adcfdd9cd0c0e0eb6fb6939 (patch)
tree8486b521b41da8b609927db04e311ef6e6dec3c1 /security/inode.c
parent3156bc814f21a976b25c1b4981dcb0f558302b27 (diff)
lsm: consolidate all of the LSM framework initcalls
The LSM framework itself registers a small number of initcalls, this patch converts these initcalls into the new initcall mechanism. Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johhansen@canonical.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/inode.c')
-rw-r--r--security/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/inode.c b/security/inode.c
index 6620c3e42af2..ab8d6a2acadb 100644
--- a/security/inode.c
+++ b/security/inode.c
@@ -368,7 +368,7 @@ static const struct file_operations lsm_ops = {
};
#endif
-static int __init securityfs_init(void)
+int __init securityfs_init(void)
{
int retval;
@@ -387,4 +387,3 @@ static int __init securityfs_init(void)
#endif
return 0;
}
-core_initcall(securityfs_init);