Searched refs:pid2 (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.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: '$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 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-13.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-13.1/contrib/kyua/utils/process/ |
| H A D | operations_test.cpp | 264 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 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-13.1/tests/sys/fs/fusefs/ |
| H A D | locks.cc | 299 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 D | linux_systrace_args.c | 2037 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 1015 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 D | linux_systrace_args.c | 2409 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 1196 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 D | linux32_systrace_args.c | 2521 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux32_proto.h | 1265 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 D | linux_systrace_args.c | 2560 iarg[1] = p->pid2; /* l_pid_t */ in systrace_args()
|
| H A D | linux_proto.h | 1258 char pid2_l_[PADL_(l_pid_t)]; l_pid_t pid2; char pid2_r_[PADR_(l_pid_t)]; member
|