mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user