mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
Kernel: Make sys$setsid() clear the calling process's controlling TTY
This commit is contained in:
parent
cf10f22488
commit
81ddd2dae0
Notes:
sideshowbarker
2024-07-19 09:50:06 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/81ddd2dae0f
@ -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…
Reference in New Issue
Block a user