mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
Kernel: Remove alternative signal stack settings on execve(2)
A successful call to execve(2) removes any existing alternate signal stack.
This commit is contained in:
@@ -685,6 +685,9 @@ void Thread::clear_signals()
|
||||
m_pending_signals = 0;
|
||||
m_have_any_unmasked_pending_signals.store(false, AK::memory_order_release);
|
||||
m_signal_action_data.fill({});
|
||||
// A successful call to execve(2) removes any existing alternate signal stack
|
||||
m_alternative_signal_stack = 0;
|
||||
m_alternative_signal_stack_size = 0;
|
||||
}
|
||||
|
||||
// Certain exceptions, such as SIGSEGV and SIGILL, put a
|
||||
|
||||
Reference in New Issue
Block a user