Kernel: Store process arguments and environment in coredumps

Currently they're only pushed onto the stack but not easily accessible
from the Process class, so this adds a Vector<String> for both.
This commit is contained in:
Linus Groh 2021-01-15 20:21:03 +01:00 committed by Andreas Kling
commit 1ccc2e6482
Notes: sideshowbarker 2024-07-18 23:47:31 +09:00
4 changed files with 14 additions and 0 deletions

View file

@ -641,6 +641,8 @@ void Process::finalize()
m_cwd = nullptr;
m_root_directory = nullptr;
m_root_directory_relative_to_global_root = nullptr;
m_arguments.clear();
m_environment.clear();
m_dead = true;