Searched refs:childproc (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/tools/regression/priv/
H A Dpriv_sched_setpriority.c55 static pid_t childproc; variable
75 childproc = fork();
76 if (childproc < 0) {
80 if (childproc == 0) {
161 (void)kill(childproc, SIGKILL);
163 pid = waitpid(childproc, NULL, 0);
166 childproc);
167 if (pid == childproc)
171 childproc = -1;
H A Dpriv_sched_rtprio.c59 static pid_t childproc; variable
84 childproc = fork();
85 if (childproc < 0) {
89 if (childproc == 0) {
250 error = rtprio(RTP_SET, childproc, &rtp);
273 error = rtprio(RTP_SET, childproc, &rtp);
296 error = rtprio(RTP_SET, childproc, &rtp);
317 (void)kill(childproc, SIGKILL);
319 pid = waitpid(childproc, NULL, 0);
322 childproc);
[all...]

Completed in 106 milliseconds