Merge tag 'bcachefs-2024-03-19' of https://evilpiepirate.org/git/bcachefs
[linux-2.6-microblaze.git] / security / landlock / setup.c
index f6dd331..28519a4 100644 (file)
@@ -14,8 +14,8 @@
 #include "cred.h"
 #include "fs.h"
 #include "net.h"
-#include "ptrace.h"
 #include "setup.h"
+#include "task.h"
 
 bool landlock_initialized __ro_after_init = false;
 
@@ -34,7 +34,7 @@ const struct lsm_id landlock_lsmid = {
 static int __init landlock_init(void)
 {
        landlock_add_cred_hooks();
-       landlock_add_ptrace_hooks();
+       landlock_add_task_hooks();
        landlock_add_fs_hooks();
        landlock_add_net_hooks();
        landlock_initialized = true;