Searched refs:cur_handler (Results 1 – 1 of 1) sorted by relevance
331 struct sigaction cur_handler; in SignalHandler() local332 if (sigaction(sig, NULL, &cur_handler) == 0 && in SignalHandler()333 (cur_handler.sa_flags & SA_SIGINFO) == 0) { in SignalHandler()335 sigemptyset(&cur_handler.sa_mask); in SignalHandler()336 sigaddset(&cur_handler.sa_mask, sig); in SignalHandler()338 cur_handler.sa_sigaction = SignalHandler; in SignalHandler()339 cur_handler.sa_flags = SA_ONSTACK | SA_SIGINFO; in SignalHandler()341 if (sigaction(sig, &cur_handler, NULL) == -1) { in SignalHandler()