mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 10:29:16 +00:00
refactor(kernel): remove 'foreach' macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -178,7 +178,7 @@ int sys_kill(SysFrm *Frame, pid_t pid, int sig)
|
||||
if (pid == 0)
|
||||
{
|
||||
bool found = false;
|
||||
foreach (auto proc in pcb->GetContext()->GetProcessList())
|
||||
for (auto proc : pcb->GetContext()->GetProcessList())
|
||||
{
|
||||
if (proc->Security.ProcessGroupID == thisProcess->Security.ProcessGroupID)
|
||||
{
|
||||
|
Reference in New Issue
Block a user