From ef8ba3dec4976bf518461b2c0e6155245a0d85b7 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 19 Oct 2022 17:25:56 +0200 Subject: [PATCH] Kernel: Do not hang when a user task misbehaves This was for testing/debugging. But we DEFINITELY don't want that. --- kernel/src/interrupts/Entry.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/src/interrupts/Entry.cpp b/kernel/src/interrupts/Entry.cpp index f6562ae4..1496bab7 100644 --- a/kernel/src/interrupts/Entry.cpp +++ b/kernel/src/interrupts/Entry.cpp @@ -51,8 +51,6 @@ extern "C" void common_handler(Context* context) StackTracer tracer(context->rbp); tracer.trace_with_ip(context->rip); - hang(); // FIXME: Remove this when multiple address spaces are working. - Scheduler::task_misbehave(context, -3); } }