summaryrefslogtreecommitdiff
path: root/security/landlock/Makefile
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2024-03-07 10:39:23 +0100
committerMickaël Salaün <mic@digikod.net>2024-03-08 18:22:16 +0100
commite3e37fe022a486d83c71eacb59fb5b6b0ebdbf78 (patch)
treea311a8f53d93c571dd90666ffdfc90eeababb0da /security/landlock/Makefile
parent088e2efaf3d25be67f5dbcc26cfe08d7797dff39 (diff)
landlock: Rename "ptrace" files to "task"
ptrace.[ch] are currently only used for the ptrace LSM hooks but their scope will expand with IPCs and audit support. Rename ptrace.[ch] to task.[ch], which better reflect their content. Similarly, rename landlock_add_ptrace_hooks() to landlock_add_task_hooks(). Keep header files for now. Cc: Günther Noack <gnoack@google.com> Cc: Paul Moore <paul@paul-moore.com> Link: https://lore.kernel.org/r/20240307093923.1466071-2-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'security/landlock/Makefile')
-rw-r--r--security/landlock/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/Makefile b/security/landlock/Makefile
index c2e116f2a299..b4538b7cf7d2 100644
--- a/security/landlock/Makefile
+++ b/security/landlock/Makefile
@@ -1,6 +1,6 @@
obj-$(CONFIG_SECURITY_LANDLOCK) := landlock.o
landlock-y := setup.o syscalls.o object.o ruleset.o \
- cred.o ptrace.o fs.o
+ cred.o task.o fs.o
landlock-$(CONFIG_INET) += net.o