| /freebsd-12.1/bin/pkill/tests/ |
| H A D | pgrep-j_test.sh | 45 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 D | h_forkcli.c | 21 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 D | scenario.c | 269 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 D | test-pexecute.c | 384 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 D | flock_helper.c | 501 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 D | locks.cc | 277 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 D | linux_systrace_args.c | 1937 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 952 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 D | linux_systrace_args.c | 2262 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 1106 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 D | linux32_systrace_args.c | 2389 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux32_proto.h | 1180 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 D | linux_systrace_args.c | 2465 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 1198 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
|