Searched refs:pid2 (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/bin/pkill/tests/
H A Dpgrep-j_test.sh38 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
40 if [ "$pid1" = "$pid2" ]; then
64 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \
66 if [ "$pid1" = "$pid2" ]; then
/freebsd-10.1-release/tools/regression/security/proc_to_proc/
H A Dscenario.c269 pid_t pid1, pid2; local
309 pid2 = fork();
310 switch (pid2) {
409 error = waitpid(pid2, NULL, 0);
411 * Once pid2 has died, it's safe to kill pid1, if it's still
417 error = waitpid(pid2, NULL, 0);
/freebsd-10.1-release/contrib/ofed/management/opensm/scripts/
H A Dredhat-opensm.init.in178 local pid2=
191 pid2=`pidof -o $$ -o $PPID -o %PPID -x $bin`
193 pid=`echo "$pid1 $pid2" | sed -e 's/\ /\n/g' | sort -n | uniq | sed -e 's/\n/\ /g'`
/freebsd-10.1-release/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c384 int pid1, pid2; local
405 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp",
407 if (pid2 < 0)
419 if (pwait (pid2, &status, 0) < 0)
/freebsd-10.1-release/tools/regression/file/flock/
H A Dflock.c496 int pid1, pid2; local
526 pid2 = fork();
527 if (pid2 < 0)
530 if (pid2 == 0) {
564 kill(pid2, SIGTERM);
565 safe_waitpid(pid2);

Completed in 263 milliseconds