Lines Matching refs:child

17 	pid_t child;
21 /* Run a child that will wake us up */
22 child = create_sig_proc(signo, INT_MAX, 100000);
34 SAFE_KILL(child, SIGTERM);
42 pid_t child;
51 /* Run a child that will wake us up */
52 child = create_sig_proc(signo, INT_MAX, 100000);
64 SAFE_KILL(child, SIGTERM);
76 pid_t child;
81 /* Run a child that will wake us up */
82 child = create_sig_proc(signo, INT_MAX, 100000);
86 if (si.si_pid == child && si.si_code == SI_USER &&
95 SAFE_KILL(child, SIGTERM);
103 pid_t child;
108 /* Run a child that will wake us up */
109 child = create_sig_proc(signo, INT_MAX, 100000);
117 SAFE_KILL(child, SIGTERM);
126 pid_t child;
131 /* let's not get interrupted by our dying child */
141 /* Run a child that will wake us up */
142 child = create_sig_proc(signo, 1, 0);
146 if (si.si_pid == child && si.si_code == SI_USER &&
165 SAFE_KILL(child, SIGTERM);
174 pid_t child[2];
183 /* let's not get interrupted by our dying child */
193 /* Run a child that will wake us up */
194 child[0] = create_sig_proc(signo, 1, 0);
195 child[1] = create_sig_proc(signo + 1, 1, 0);
198 SAFE_WAITPID(child[0], &status, 0);
199 SAFE_WAITPID(child[1], &status, 0);
203 if (si.si_pid == child[0] && si.si_code == SI_USER &&
215 if (si.si_pid == child[1] && si.si_code == SI_USER &&
239 pid_t child;
244 /* let's not get interrupted by our dying child */
254 /* Run a child that will wake us up */
255 child = create_sig_proc(signo, 1, 0);
273 SAFE_KILL(child, SIGTERM);
281 pid_t child;
286 /* let's not get interrupted by our dying child */
296 /* Run a child that will wake us up */
297 child = create_sig_proc(signo, 1, 0);
313 SAFE_KILL(child, SIGTERM);
349 tst_res(TFAIL, "Unrecognised child exit code: %d",
353 tst_res(TFAIL, "Unrecognised child termsig: %d",