Kernel: Make sys$setsid() clear the calling process's controlling TTY

This commit is contained in:
Andreas Kling 2020-01-25 14:53:48 +01:00
parent cf10f22488
commit 81ddd2dae0
Notes: sideshowbarker 2024-07-19 09:50:06 +09:00

View File

@ -2386,6 +2386,7 @@ pid_t Process::sys$setsid()
return -EPERM;
m_sid = m_pid;
m_pgid = m_pid;
m_tty = nullptr;
return m_sid;
}