Lines Matching defs:pid
438 * MY_PID (pid 0) can be used to create or change the context for
455 pid_t pid = -1;
470 pid = (pid_t)id;
471 if (pid == P_MYPID)
472 pid = curproc->p_pid;
473 if (pid == curproc->p_pid)
500 if (type == P_PID && pid == di.di_target) {
521 } else if ((int)pid < 0) {
526 } else if (pid == curproc->p_pid) {
550 p = prfind(pid);
607 pid_t pid;
614 pid = (pid_t)id;
643 } else if ((int)pid > 0) {
645 p = prfind(pid);
653 } else if (pid == 0) {
868 uprintf("pfexecd not running; pid %d privileges not "