Home
last modified time | relevance | path

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

/freebsd-12.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: '$(echo $pid1)', pidfile output: '$(echo $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: '$(echo $pid1)', pidfile output: '$(echo $pid2)'"
87 echo "not ok 3 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $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-12.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-12.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-12.1/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c384 int pid1, pid2; in main() local
405 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp", in main()
407 if (pid2 < 0) in main()
419 if (pwait (pid2, &status, 0) < 0) in main()
/freebsd-12.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-12.1/tests/sys/fs/fusefs/
H A Dlocks.cc277 pid_t pid2 = 1235; in TEST_F() local
298 out.body.getlk.lk.pid = (uint32_t)pid2;; in TEST_F()
312 EXPECT_EQ(pid2, fl.l_pid); in TEST_F()
/freebsd-12.1/sys/arm64/linux/
H A Dlinux_systrace_args.c1937 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h952 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-12.1/sys/amd64/linux/
H A Dlinux_systrace_args.c2262 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h1106 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-12.1/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2389 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux32_proto.h1180 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
/freebsd-12.1/sys/i386/linux/
H A Dlinux_systrace_args.c2465 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
H A Dlinux_proto.h1198 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member