summaryrefslogtreecommitdiffstats
path: root/security/landlock/cred.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/landlock/cred.c')
-rw-r--r--security/landlock/cred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/cred.c b/security/landlock/cred.c
index 13dff2a315..786af18c4a 100644
--- a/security/landlock/cred.c
+++ b/security/landlock/cred.c
@@ -42,5 +42,5 @@ static struct security_hook_list landlock_hooks[] __ro_after_init = {
__init void landlock_add_cred_hooks(void)
{
security_add_hooks(landlock_hooks, ARRAY_SIZE(landlock_hooks),
- LANDLOCK_NAME);
+ &landlock_lsmid);
}