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

/freebsd-13-stable/bin/pkill/tests/
H A Dpgrep-j_test.sh45 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
47 if [ "$pid1" = "$pid2" ]; then
50 echo "not ok 1 - $name # pgrep output: '$pid1', pidfile output: '$pid2'"
66 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \
68 if [ "$pid1" = "$pid2" ]; then
71 echo "not ok 2 - $name # pgrep output: '$pid1', pidfile output: '$pid2'"
87 echo "not ok 3 - $name # pgrep output: '$pid1', pidfile output: '$pid2'"
106 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_4_1.pid)" \
108 if [ "$pid1" = "$pid2" ]; then
111 echo "not ok 4 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'"
[all...]
/freebsd-13-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c21 pid_t pid1, pid2; local
42 if ((pid2 = rump_sys_getpid()) < 2)
43 errx(1, "unexpected pid %d", pid2);
44 if (pid1 == pid2)
/freebsd-13-stable/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-13-stable/contrib/kyua/utils/process/
H A Doperations_test.cpp264 const pid_t pid2 = ::fork(); local
265 if (pid2 == -1) {
267 } else if (pid2 == 0) {
/freebsd-13-stable/tests/sys/file/
H A Dflock_helper.c501 int pid1, pid2; local
531 pid2 = fork();
532 if (pid2 < 0)
535 if (pid2 == 0) {
569 kill(pid2, SIGTERM);
570 safe_waitpid(pid2);
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dlocks.cc294 pid_t pid2 = 1235; local
315 out.body.getlk.lk.pid = (uint32_t)pid2;;
329 EXPECT_EQ(pid2, fl.l_pid);
/freebsd-13-stable/sys/arm64/linux/
H A Dlinux_systrace_args.c2039 iarg[1] = p->pid2; /* l_pid_t */
H A Dlinux_proto.h1015 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
/freebsd-13-stable/sys/i386/linux/
H A Dlinux_proto.h1258 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
H A Dlinux_systrace_args.c2560 iarg[1] = p->pid2; /* l_pid_t */
/freebsd-13-stable/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2521 iarg[1] = p->pid2; /* l_pid_t */
H A Dlinux32_proto.h1265 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
/freebsd-13-stable/sys/amd64/linux/
H A Dlinux_proto.h1196 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
H A Dlinux_systrace_args.c2409 iarg[1] = p->pid2; /* l_pid_t */

Completed in 194 milliseconds