From 5ffb0e704dd25951ae4f457371a96501a90a8b17 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Thu, 27 Mar 2025 16:42:59 +0000 Subject: [PATCH] refactor(kernel/syscalls): add fixme comments for Ctrl+Alt+Del reboot commands Signed-off-by: EnderIce2 --- Kernel/subsystem/linux/syscall.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Kernel/subsystem/linux/syscall.cpp b/Kernel/subsystem/linux/syscall.cpp index 3c5df14e..e42b929a 100644 --- a/Kernel/subsystem/linux/syscall.cpp +++ b/Kernel/subsystem/linux/syscall.cpp @@ -2689,7 +2689,15 @@ static int linux_reboot(SysFrm *, int magic, int magic2, int cmd, void *arg) break; } case linux_LINUX_REBOOT_CMD_CAD_ON: + { + fixme("Enable reboot on Ctrl+Alt+Del"); + return 0; + } case linux_LINUX_REBOOT_CMD_CAD_OFF: + { + fixme("Disable reboot on Ctrl+Alt+Del"); + return 0; + } case linux_LINUX_REBOOT_CMD_SW_SUSPEND: case linux_LINUX_REBOOT_CMD_KEXEC: {