Kernel: kill() with negative pid actually matches pgid
This commit is contained in:
parent
d745fca86a
commit
38e72019c7
|
@ -911,7 +911,7 @@ namespace Kernel
|
|||
for_each_process(
|
||||
[&](Process& process)
|
||||
{
|
||||
if (pid == process.pid() || -pid == process.pid())
|
||||
if (pid == process.pid() || -pid == process.pgrp())
|
||||
{
|
||||
found = true;
|
||||
if (signal)
|
||||
|
|
Loading…
Reference in New Issue