| 6843 | } |
| 6844 | |
| 6845 | void removeSignalHandlers(void) { |
| 6846 | struct sigaction act; |
| 6847 | sigemptyset(&act.sa_mask); |
| 6848 | act.sa_flags = SA_NODEFER | SA_RESETHAND; |
| 6849 | act.sa_handler = SIG_DFL; |
| 6850 | sigaction(SIGSEGV, &act, NULL); |
| 6851 | sigaction(SIGBUS, &act, NULL); |
| 6852 | sigaction(SIGFPE, &act, NULL); |
| 6853 | sigaction(SIGILL, &act, NULL); |
| 6854 | sigaction(SIGABRT, &act, NULL); |
| 6855 | } |
| 6856 | |
| 6857 | /* This is the signal handler for children process. It is currently useful |
| 6858 | * in order to track the SIGUSR1, that we send to a child in order to terminate |
no test coverage detected