1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00

Kernel: Allocate kernel signal stacks using the region allocator as well.

This commit is contained in:
Andreas Kling 2019-05-14 12:06:09 +02:00
parent c8a216b107
commit 486c675850
3 changed files with 7 additions and 13 deletions

View file

@ -362,8 +362,7 @@ int Process::do_exec(String path, Vector<String> arguments, Vector<String> envir
entry_eip = loader.entry().get();
}
kfree(current->m_kernel_stack_for_signal_handler);
current->m_kernel_stack_for_signal_handler = nullptr;
current->m_kernel_stack_for_signal_handler_region = nullptr;
current->m_signal_stack_user_region = nullptr;
current->set_default_signal_dispositions();
current->m_signal_mask = 0;