mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
Kernel: Clear coredump metadata on exec()
If for some reason a process wants to exec after saving some coredump metadata, we should just throw away the data.
This commit is contained in:
parent
fd29bed656
commit
54f421e170
Notes:
sideshowbarker
2024-07-18 22:56:08 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/54f421e1702
@ -527,6 +527,8 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
|
||||
m_veil_state = VeilState::None;
|
||||
m_unveiled_paths.clear();
|
||||
|
||||
m_coredump_metadata.clear();
|
||||
|
||||
current_thread->set_default_signal_dispositions();
|
||||
current_thread->clear_signals();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user