From a6cef2408c9220bd1e8f0a30436f6d575eb98ebb Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Jan 2020 10:32:56 +0100 Subject: [PATCH] Kernel: Add sigreturn() to "stdio" with all the other signal syscalls --- Kernel/Process.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index f229549e91..1c986cd009 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -1196,6 +1196,7 @@ void create_kernel_info_page() int Process::sys$sigreturn(RegisterDump& registers) { + REQUIRE_PROMISE(stdio); SmapDisabler disabler; //Here, we restore the state pushed by dispatch signal and asm_signal_trampoline.