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:
Andreas Kling
2020-01-03 02:04:51 +01:00
parent 005313df82
commit 05653a9189

View File

@@ -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);
}