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