diff options
| author | Paul Moore <paul@paul-moore.com> | 2025-02-18 17:25:20 -0500 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2025-10-22 19:24:28 -0400 |
| commit | 4ab5efcc2829a38a3adcfdd9cd0c0e0eb6fb6939 (patch) | |
| tree | 8486b521b41da8b609927db04e311ef6e6dec3c1 /security/inode.c | |
| parent | 3156bc814f21a976b25c1b4981dcb0f558302b27 (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.c | 3 |
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); |