mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
Kernel: Move Process's TTY pointer into protected data
This commit is contained in:
parent
1e2ef59965
commit
e69b2572a6
3 changed files with 8 additions and 9 deletions
|
@ -118,6 +118,7 @@ class Process final
|
|||
// FIXME: This should be a NonnullRefPtr
|
||||
RefPtr<Credentials> credentials;
|
||||
RefPtr<ProcessGroup> process_group;
|
||||
RefPtr<TTY> tty;
|
||||
bool dumpable { false };
|
||||
bool executable_is_setid { false };
|
||||
Atomic<bool> has_promises { false };
|
||||
|
@ -857,8 +858,6 @@ private:
|
|||
Vector<NonnullOwnPtr<KString>> m_arguments;
|
||||
Vector<NonnullOwnPtr<KString>> m_environment;
|
||||
|
||||
SpinlockProtected<RefPtr<TTY>, LockRank::None> m_tty;
|
||||
|
||||
LockWeakPtr<Memory::Region> m_master_tls_region;
|
||||
|
||||
IntrusiveListNode<Process> m_jail_process_list_node;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue