mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:25:07 +00:00
Kernel: killpg() with pgrp=0 should signal every process in the group
In the same group as the calling process, that is.
This commit is contained in:
parent
005313df82
commit
05653a9189
1 changed files with 2 additions and 1 deletions
|
@ -1681,7 +1681,8 @@ int Process::sys$killpg(int pgrp, int signum)
|
|||
return -EINVAL;
|
||||
|
||||
InterruptDisabler disabler;
|
||||
|
||||
if (pgrp == 0)
|
||||
return do_killpg(m_pgid, signum);
|
||||
return do_killpg(pgrp, signum);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue