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

Kernel: Don't forget to copy & destroy root_directory_for_procfs

Also, rename it to root_directory_relative_to_global_root.
This commit is contained in:
Sergey Bugaev 2020-01-12 21:42:01 +03:00 committed by Andreas Kling
parent 8ca6e63119
commit 33c0dc08a7
3 changed files with 10 additions and 8 deletions

View file

@ -339,7 +339,7 @@ public:
u32 priority_boost() const { return m_priority_boost; }
Custody& root_directory();
Custody& root_directory_for_procfs();
Custody& root_directory_relative_to_global_root();
void set_root_directory(const Custody&);
bool has_promises() const { return m_promises; }
@ -407,7 +407,7 @@ private:
RefPtr<Custody> m_executable;
RefPtr<Custody> m_cwd;
RefPtr<Custody> m_root_directory;
RefPtr<Custody> m_root_directory_for_procfs;
RefPtr<Custody> m_root_directory_relative_to_global_root;
RefPtr<TTY> m_tty;