Kernel: kill() with negative pid actually matches pgid

This commit is contained in:
Bananymous 2023-08-22 14:54:15 +03:00
parent d745fca86a
commit 38e72019c7
1 changed files with 1 additions and 1 deletions

View File

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