mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 22:02:12 +00:00
Kernel: Make sys$setsid() clear the calling process's controlling TTY
This commit is contained in:
parent
cf10f22488
commit
81ddd2dae0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue