From b337fc869c6873cbc07ad94e74e6c221ed302b72 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Tue, 27 May 2025 15:34:19 +0800 Subject: [PATCH] kernel: remove unused ksu_task_prctl function --- kernel/core_hook.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 22e7dc68..691144b4 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -667,12 +667,6 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old) return 0; } -static int ksu_task_prctl(int option, unsigned long arg2, unsigned long arg3, - unsigned long arg4, unsigned long arg5) -{ - ksu_handle_prctl(option, arg2, arg3, arg4, arg5); - return -ENOSYS; -} // kernel 4.4 and 4.9 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) || \ defined(CONFIG_IS_HW_HISI) || \