Searched refs:child_action (Results 1 – 1 of 1) sorted by relevance
161 struct sigaction child_action; in run_child() local163 child_action.sa_handler = child_handler; in run_child()164 sigemptyset(&child_action.sa_mask); in run_child()165 child_action.sa_flags = SA_NOCLDSTOP; in run_child()167 if (sigaction(SIGCHLD, &child_action, NULL) < 0) { in run_child()184 struct sigaction child_action; in check_child() local187 child_action.sa_handler = SIG_IGN; in check_child()188 sigemptyset(&child_action.sa_mask); in check_child()189 child_action.sa_flags = SA_NOCLDSTOP; in check_child()190 if (sigaction(SIGCHLD, &child_action, NULL) < 0) { in check_child()