mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:28:13 +00:00
Kernel: Remove unneeded Thread::set_default_signal_dispositions
The `default_signal_action(u8 signal)` function already has the full mapping. The only caveat being that now we need to make sure the thread constructor and clear_signals() method do the work of resetting the m_signal_action_data array, instead or relying on the previous logic in set_default_signal_dispositions.
This commit is contained in:
parent
df73a86875
commit
a977cdd9ac
3 changed files with 5 additions and 13 deletions
|
@ -544,7 +544,6 @@ KResult Process::do_exec(NonnullRefPtr<FileDescription> main_program_description
|
|||
m_coredump_metadata.clear();
|
||||
|
||||
auto current_thread = Thread::current();
|
||||
current_thread->set_default_signal_dispositions();
|
||||
current_thread->clear_signals();
|
||||
|
||||
clear_futex_queues_on_exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue