mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
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:
parent
7668e968af
commit
1ccc2e6482
4 changed files with 14 additions and 0 deletions
|
@ -507,6 +507,8 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
|
|||
#endif
|
||||
|
||||
m_executable = main_program_description->custody();
|
||||
m_arguments = arguments;
|
||||
m_environment = environment;
|
||||
|
||||
m_promises = m_execpromises;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue