/freebsd-11-stable/bin/pkill/tests/ |
H A D | pgrep-j_test.sh | 44 pid1="$(pgrep -f -x -j "$jid" "$sleep $sleep_amount" | sort)" 47 if [ "$pid1" = "$pid2" ]; then 50 echo "not ok 1 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 65 pid1="$(pgrep -f -x -j any "$sleep $sleep_amount" | sort)" 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)'" 105 pid1="$(pgrep -f -x -j "$jname" "$sleep $sleep_amount" | sort)" 108 if [ "$pid1" = "$pid2" ]; then 111 echo "not ok 4 - $name # pgrep output: '$(echo $pid1)', pidfil [all...] |
/freebsd-11-stable/tools/test/ptrace/ |
H A D | scescx.c | 339 pid_t pid, pid1; local 372 if ((pid1 = use_vfork ? vfork() : fork()) < 0) { 375 } else if (pid1 == 0) { 402 while ((pid1 = trace(pid)) >= 0) { 403 if (pid1 != 0) { 404 printf(TRACE "attached to pid %d\n", pid1); 406 kill(pid1, SIGCONT); 408 if (waitpid(pid1, &status, 0) == -1) { 413 pid1, decode_wait_status(status)); 416 if (ptrace(PT_LWPINFO, pid1, (caddr_ [all...] |
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_forkcli.c | 21 pid_t pid1, pid2; local 24 if ((pid1 = rump_sys_getpid()) < 2) 25 errx(1, "unexpected pid %d", pid1); 44 if (pid1 == pid2)
|
/freebsd-11-stable/tools/regression/security/proc_to_proc/ |
H A D | scenario.c | 269 pid_t pid1, pid2; local 277 pid1 = fork(); 278 switch (pid1) { 335 error = ptrace(PT_ATTACH, pid1, NULL, 0); 349 KTRFAC_SYSCALL, pid1); 357 error = kill(pid1, SIGHUP); 364 error = kill(pid1, SIGSEGV); 371 getpriority(PRIO_PROCESS, pid1); 378 error = setpriority(PRIO_PROCESS, pid1, 411 * Once pid2 has died, it's safe to kill pid1, i [all...] |
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/builtinvar/ |
H A D | Makefile | 35 tst.pid1.d \
|
/freebsd-11-stable/contrib/gcclibs/libiberty/testsuite/ |
H A D | test-pexecute.c | 384 int pid1, pid2; local 393 pid1 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp", 395 if (pid1 < 0) 414 if (pwait (pid1, &status, 0) < 0)
|
/freebsd-11-stable/tests/sys/file/ |
H A D | flock_helper.c | 501 int pid1, pid2; local 515 pid1 = fork(); 516 if (pid1 < 0) 519 if (pid1 == 0) { 567 kill(pid1, SIGTERM); 568 safe_waitpid(pid1);
|
/freebsd-11-stable/sys/amd64/linux/ |
H A D | linux_systrace_args.c | 2261 iarg[0] = p->pid1; /* l_pid_t */
|
H A D | linux_proto.h | 1104 char pid1_l_[PADL_(l_pid_t)]; l_pid_t pid1; char pid1_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
|
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 2388 iarg[0] = p->pid1; /* l_pid_t */
|
H A D | linux32_proto.h | 1178 char pid1_l_[PADL_(l_pid_t)]; l_pid_t pid1; char pid1_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
|
/freebsd-11-stable/sys/i386/linux/ |
H A D | linux_systrace_args.c | 2464 iarg[0] = p->pid1; /* l_pid_t */
|
H A D | linux_proto.h | 1196 char pid1_l_[PADL_(l_pid_t)]; l_pid_t pid1; char pid1_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args
|