mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
Kernel: Store coredump metadata properties as KStrings
This patch also replaces the HashMap previously used to store coredump properties with a plain AK::Array.
This commit is contained in:
parent
95669fa861
commit
33adc3a42d
6 changed files with 55 additions and 24 deletions
|
@ -577,7 +577,8 @@ KResult Process::do_exec(NonnullRefPtr<FileDescription> main_program_description
|
|||
m_unveiled_paths.clear();
|
||||
m_unveiled_paths.set_metadata({ "/", UnveilAccess::None, false });
|
||||
|
||||
m_coredump_metadata.clear();
|
||||
for (auto& property : m_coredump_properties)
|
||||
property = {};
|
||||
|
||||
auto current_thread = Thread::current();
|
||||
current_thread->clear_signals();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue