Home
last modified time | relevance | path

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

/freebsd-13.1/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)'"
/freebsd-13.1/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c21 pid_t pid1, pid2; in simple() local
42 if ((pid2 = rump_sys_getpid()) < 2) in simple()
43 errx(1, "unexpected pid %d", pid2); in simple()
44 if (pid1 == pid2) in simple()
/freebsd-13.1/tools/regression/security/proc_to_proc/
H A Dscenario.c269 pid_t pid1, pid2; in enact_scenario() local
309 pid2 = fork(); in enact_scenario()
310 switch (pid2) { in enact_scenario()
409 error = waitpid(pid2, NULL, 0); in enact_scenario()
417 error = waitpid(pid2, NULL, 0); in enact_scenario()
/freebsd-13.1/contrib/kyua/utils/process/
H A Doperations_test.cpp264 const pid_t pid2 = ::fork(); in ATF_TEST_CASE_BODY() local
265 if (pid2 == -1) { in ATF_TEST_CASE_BODY()
267 } else if (pid2 == 0) { in ATF_TEST_CASE_BODY()
/freebsd-13.1/tests/sys/file/
H A Dflock_helper.c501 int pid1, pid2; in test6() local
531 pid2 = fork(); in test6()
532 if (pid2 < 0) in test6()
535 if (pid2 == 0) { in test6()
569 kill(pid2, SIGTERM); in test6()
570 safe_waitpid(pid2); in test6()
/freebsd-13.1/tests/sys/fs/fusefs/
H A Dlocks.cc299 pid_t pid2 = 1235; in TEST_F() local
325 out.body.getlk.lk.pid = (uint32_t)pid2;; in TEST_F()
339 EXPECT_EQ(pid2, fl.l_pid); in TEST_F()
/freebsd-13.1/sys/arm64/linux/
H A Dlinux_systrace_args.c2037 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h1015 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-13.1/sys/amd64/linux/
H A Dlinux_systrace_args.c2409 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h1196 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-13.1/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2521 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux32_proto.h1265 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-13.1/sys/i386/linux/
H A Dlinux_systrace_args.c2560 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h1258 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member