Searched refs:pid1 (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/bin/pkill/tests/
H A Dpgrep-j_test.sh44 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 Dscescx.c339 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 Dh_forkcli.c21 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 Dscenario.c269 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 DMakefile35 tst.pid1.d \
/freebsd-11-stable/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c384 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 Dflock_helper.c501 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 Dlinux_systrace_args.c2261 iarg[0] = p->pid1; /* l_pid_t */
H A Dlinux_proto.h1104 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 Dlinux32_systrace_args.c2388 iarg[0] = p->pid1; /* l_pid_t */
H A Dlinux32_proto.h1178 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 Dlinux_systrace_args.c2464 iarg[0] = p->pid1; /* l_pid_t */
H A Dlinux_proto.h1196 char pid1_l_[PADL_(l_pid_t)]; l_pid_t pid1; char pid1_r_[PADR_(l_pid_t)]; member in struct:linux_kcmp_args

Completed in 241 milliseconds