mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
e3e37fe022
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>
15 lines
326 B
C
15 lines
326 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Landlock LSM - Ptrace hooks
|
|
*
|
|
* Copyright © 2017-2019 Mickaël Salaün <mic@digikod.net>
|
|
* Copyright © 2019 ANSSI
|
|
*/
|
|
|
|
#ifndef _SECURITY_LANDLOCK_TASK_H
|
|
#define _SECURITY_LANDLOCK_TASK_H
|
|
|
|
__init void landlock_add_task_hooks(void);
|
|
|
|
#endif /* _SECURITY_LANDLOCK_TASK_H */
|