1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:17:35 +00:00

Kernel: Distinguish between new and old process groups with equal pgids

This does not add any behaviour change to the processes, but it ties a
TTY to an active process group via TIOCSPGRP, and returns the TTY to the
kernel when all processes in the process group die.
Also makes the TTY keep a link to the original controlling process' parent (for
SIGCHLD) instead of the process itself.
This commit is contained in:
AnotherTest 2020-08-15 23:43:19 +04:30 committed by Andreas Kling
parent cf18bff72a
commit 688e54eac7
9 changed files with 176 additions and 23 deletions

View file

@ -82,6 +82,7 @@ set(KERNEL_SOURCES
PCI/MMIOAccess.cpp
PerformanceEventBuffer.cpp
Process.cpp
ProcessGroup.cpp
Profiling.cpp
Ptrace.cpp
RTC.cpp