Revert "fix: set the SA_ONSTACK flag"

This commit is contained in:
Manos 2023-12-18 10:48:01 +00:00 committed by GitHub
parent 6c9410df87
commit 81b76df72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ static void* thread_do(struct thread* thread_p){
/* Register signal handler */ /* Register signal handler */
struct sigaction act; struct sigaction act;
sigemptyset(&act.sa_mask); sigemptyset(&act.sa_mask);
act.sa_flags = SA_ONSTACK; act.sa_flags = 0;
act.sa_handler = thread_hold; act.sa_handler = thread_hold;
if (sigaction(SIGUSR1, &act, NULL) == -1) { if (sigaction(SIGUSR1, &act, NULL) == -1) {
err("thread_do(): cannot handle SIGUSR1"); err("thread_do(): cannot handle SIGUSR1");