forked from enlightenment/enlightenment
parent
ee1d47c39d
commit
e90041581f
|
@ -67,22 +67,22 @@ main(int argc, char **argv)
|
||||||
/* or ability to gdb attach and debug at this point - better than your */
|
/* or ability to gdb attach and debug at this point - better than your */
|
||||||
/* wm/desktop vanishing and not knowing what happened */
|
/* wm/desktop vanishing and not knowing what happened */
|
||||||
action.sa_sigaction = e_sigseg_act;
|
action.sa_sigaction = e_sigseg_act;
|
||||||
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_ONESHOT | SA_NOMASK | SA_SIGINFO;
|
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
|
||||||
sigemptyset(&action.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
sigaction(SIGSEGV, &action, NULL);
|
sigaction(SIGSEGV, &action, NULL);
|
||||||
|
|
||||||
action.sa_sigaction = e_sigill_act;
|
action.sa_sigaction = e_sigill_act;
|
||||||
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_ONESHOT | SA_NOMASK | SA_SIGINFO;
|
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
|
||||||
sigemptyset(&action.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
sigaction(SIGILL, &action, NULL);
|
sigaction(SIGILL, &action, NULL);
|
||||||
|
|
||||||
action.sa_sigaction = e_sigfpe_act;
|
action.sa_sigaction = e_sigfpe_act;
|
||||||
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_ONESHOT | SA_NOMASK | SA_SIGINFO;
|
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
|
||||||
sigemptyset(&action.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
sigaction(SIGFPE, &action, NULL);
|
sigaction(SIGFPE, &action, NULL);
|
||||||
|
|
||||||
action.sa_sigaction = e_sigbus_act;
|
action.sa_sigaction = e_sigbus_act;
|
||||||
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_ONESHOT | SA_NOMASK | SA_SIGINFO;
|
action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
|
||||||
sigemptyset(&action.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
sigaction(SIGBUS, &action, NULL);
|
sigaction(SIGBUS, &action, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue