Skip to content

Commit

Permalink
Don't use altstack for the sigusr2 handler
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi committed Jan 22, 2025
1 parent eed3365 commit 69867b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signals-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ void jl_install_default_signal_handlers(void)
memset(&act, 0, sizeof(struct sigaction));
sigemptyset(&act.sa_mask);
act.sa_sigaction = usr2_handler;
act.sa_flags = SA_ONSTACK | SA_SIGINFO | SA_RESTART;
act.sa_flags = SA_SIGINFO | SA_RESTART;
if (sigaction(SIGUSR2, &act, NULL) < 0) {
jl_errorf("fatal error: sigaction: %s", strerror(errno));
}
Expand Down

0 comments on commit 69867b2

Please sign in to comment.