mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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
Notes:
sideshowbarker
2024-07-18 23:47:31 +09:00
Author: https://github.com/linusg
Commit: 1ccc2e6482
Pull-request: https://github.com/SerenityOS/serenity/pull/4963
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