mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:25:08 +00:00
Refactor TTY signal generation a bit.
We now respect the VINTR and VQUIT control characters in the termios.
This commit is contained in:
parent
4e2c2b9748
commit
a788e85c09
7 changed files with 51 additions and 30 deletions
|
@ -777,6 +777,11 @@ void Process::dispatch_signal(byte signal)
|
|||
return terminate_due_to_signal(signal);
|
||||
}
|
||||
|
||||
if (handler_laddr.asPtr() == SIG_IGN) {
|
||||
dbgprintf("%s(%u) ignored signal %u\n", name().characters(), pid(), signal);
|
||||
return;
|
||||
}
|
||||
|
||||
Scheduler::prepare_to_modify_tss(*this);
|
||||
|
||||
word ret_cs = m_tss.cs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue