Kernel: Fix bug in process termination on missing signal handler.

This commit is contained in:
Andreas Kling 2019-01-24 21:22:13 +01:00
parent ff4d6afb60
commit 2159d6bf76
Notes: sideshowbarker 2024-07-19 15:57:46 +09:00

View file

@ -793,7 +793,7 @@ bool Process::dispatch_signal(byte signal)
if (handler_laddr.is_null()) {
// FIXME: Is termination really always the appropriate action?
terminate_due_to_signal(signal);
return true;
return false;
}
m_pending_signals &= ~(1 << signal);