landlock: Rename "ptrace" files to "task"
authorMickaël Salaün <mic@digikod.net>
Thu, 7 Mar 2024 09:39:23 +0000 (10:39 +0100)
committerMickaël Salaün <mic@digikod.net>
Fri, 8 Mar 2024 17:22:16 +0000 (18:22 +0100)
commite3e37fe022a486d83c71eacb59fb5b6b0ebdbf78
treea311a8f53d93c571dd90666ffdfc90eeababb0da
parent088e2efaf3d25be67f5dbcc26cfe08d7797dff39
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>
security/landlock/Makefile
security/landlock/ptrace.c [deleted file]
security/landlock/ptrace.h [deleted file]
security/landlock/setup.c
security/landlock/task.c [new file with mode: 0644]
security/landlock/task.h [new file with mode: 0644]