Lines Matching refs:sa

110 static struct sigaction	sa;  variable
304 sa.sa_handler = childcleanup; in main()
305 sa.sa_flags = 0; in main()
306 (void) sigemptyset(&sa.sa_mask); in main()
307 (void) sigaction(SIGTERM, &sa, NULL); in main()
308 (void) sigaction(SIGHUP, &sa, NULL); in main()
309 sa.sa_handler = parenthandler; in main()
310 sa.sa_flags = SA_SIGINFO; in main()
311 (void) sigemptyset(&sa.sa_mask); in main()
312 (void) sigaction(SIGUSR1, &sa, NULL); in main()
314 sa.sa_handler = SIG_IGN; in main()
315 sa.sa_flags = 0; in main()
316 (void) sigemptyset(&sa.sa_mask); in main()
317 (void) sigaction(SIGCHLD, &sa, NULL); in main()
434 sa.sa_handler = noop; in setupsigs()
435 sa.sa_flags = 0; in setupsigs()
436 (void) sigemptyset(&sa.sa_mask); in setupsigs()
437 (void) sigaction(SIGINT, &sa, NULL); in setupsigs()
438 (void) sigaction(SIGQUIT, &sa, NULL); in setupsigs()
440 sa.sa_handler = termhandler; in setupsigs()
441 sa.sa_flags = 0; in setupsigs()
442 (void) sigemptyset(&sa.sa_mask); in setupsigs()
443 (void) sigaction(SIGTERM, &sa, NULL); in setupsigs()
444 (void) sigaction(SIGKILL, &sa, NULL); in setupsigs()
445 (void) sigaction(SIGHUP, &sa, NULL); in setupsigs()
758 sa.sa_handler = SIG_IGN; in parenthandler()
759 sa.sa_flags = 0; in parenthandler()
760 (void) sigemptyset(&sa.sa_mask); in parenthandler()
761 (void) sigaction(SIGINT, &sa, NULL); in parenthandler()
762 (void) sigaction(SIGQUIT, &sa, NULL); in parenthandler()
763 (void) sigaction(SIGTERM, &sa, NULL); in parenthandler()
802 sa.sa_handler = SIG_IGN; in termhandler()
803 sa.sa_flags = 0; in termhandler()
804 (void) sigemptyset(&sa.sa_mask); in termhandler()
805 (void) sigaction(SIGINT, &sa, NULL); in termhandler()
806 (void) sigaction(SIGQUIT, &sa, NULL); in termhandler()
807 sa.sa_handler = SIG_DFL; in termhandler()
808 sa.sa_flags = 0; in termhandler()
809 (void) sigemptyset(&sa.sa_mask); in termhandler()
810 (void) sigaction(SIGTERM, &sa, NULL); in termhandler()
811 (void) sigaction(SIGHUP, &sa, NULL); in termhandler()