Searched refs:pid1 (Results 1 - 11 of 11) sorted by relevance
/freebsd-10-stable/bin/pkill/tests/ |
H A D | pgrep-j_test.sh | 43 pid1="$(pgrep -f -x -j "$jid" "$sleep $sleep_amount" | sort)" 46 if [ "$pid1" = "$pid2" ]; then 49 echo "not ok 1 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 64 pid1="$(pgrep -f -x -j any "$sleep $sleep_amount" | sort)" 67 if [ "$pid1" = "$pid2" ]; then 70 echo "not ok 2 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 86 echo "not ok 3 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'" 104 pid1="$(pgrep -f -x -j "$jname" "$sleep $sleep_amount" | sort)" 107 if [ "$pid1" = "$pid2" ]; then 110 echo "not ok 4 - $name # pgrep output: '$(echo $pid1)', pidfil [all...] |
/freebsd-10-stable/tools/test/ptrace/ |
H A D | scescx.c | 313 pid_t pid, pid1; local 346 if ((pid1 = use_vfork ? vfork() : fork()) < 0) { 349 } else if (pid1 == 0) { 376 while ((pid1 = trace(pid)) >= 0) { 377 if (pid1 != 0) { 378 printf(TRACE "attached to pid %d\n", pid1); 380 kill(pid1, SIGCONT); 382 if (waitpid(pid1, &status, 0) == -1) { 387 pid1, decode_wait_status(status)); 390 if (ptrace(PT_LWPINFO, pid1, (caddr_ [all...] |
/freebsd-10-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-10-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-10-stable/contrib/ofed/management/opensm/scripts/ |
H A D | redhat-opensm.init.in | 177 local pid1= 187 [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid1="$pid1 $p" 193 pid=`echo "$pid1 $pid2" | sed -e 's/\ /\n/g' | sort -n | uniq | sed -e 's/\n/\ /g'`
|
/freebsd-10-stable/cddl/usr.sbin/dtrace/tests/common/builtinvar/ |
H A D | Makefile | 33 tst.pid1.d \
|
/freebsd-10-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-10-stable/share/dtrace/ |
H A D | watch_execve | 85 this->pid1 = this->proc->p_pid; 188 this->caller_execname, this->pid1); 213 this->pid1, this->uid1, this->gid1, this->arg1_0);
|
H A D | watch_kill | 88 this->pid1 = this->proc->p_pid; 191 this->caller_execname, this->pid1); 218 this->pid1, this->uid1, this->gid1, this->arg1_0);
|
H A D | watch_vop_remove | 384 this->pid1 = this->proc->p_pid; 462 this->pid1, this->uid1, this->gid1, this->arg1_0);
|
/freebsd-10-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);
|
Completed in 168 milliseconds