Commit cbcee6e3 authored by Camil Staps's avatar Camil Staps 🍃

Add SA_RESTART to SIGSEGV handler (to be sure)

parent 6c776c0b
......@@ -308,7 +308,7 @@ void install_interpreter_segv_handler(void) {
struct sigaction segv_handler;
segv_handler.sa_sigaction=handle_segv;
sigemptyset(&segv_handler.sa_mask);
segv_handler.sa_flags=SA_ONSTACK | SA_SIGINFO;
segv_handler.sa_flags=SA_ONSTACK | SA_SIGINFO | SA_RESTART;
if (sigaction(SIGSEGV, &segv_handler,
# ifdef LINK_CLEAN_RUNTIME
&old_segv_handler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment