mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 13:55:00 +00:00
Kernel+LibC: Don't hardcode the maximum signal number everywhere
This commit is contained in:
parent
a39a341e26
commit
e79f0e2ee9
4 changed files with 9 additions and 9 deletions
|
@ -738,7 +738,7 @@ void Process::die()
|
|||
void Process::terminate_due_to_signal(u8 signal)
|
||||
{
|
||||
VERIFY_INTERRUPTS_DISABLED();
|
||||
VERIFY(signal < 32);
|
||||
VERIFY(signal < NSIG);
|
||||
VERIFY(&Process::current() == this);
|
||||
dbgln("Terminating {} due to signal {}", *this, signal);
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue