Lines Matching refs:proc_id
298 pid_t proc_id, id; in process_ksig() local
311 proc_id = rmp->mp_pid; in process_ksig()
331 id = proc_id; in process_ksig()
568 int check_sig(proc_id, signo, ksig) in check_sig() argument
569 pid_t proc_id; /* pid of proc to sig, or 0 or -1, or -pgrp */ in check_sig()
585 if (proc_id == INIT_PID && signo == SIGKILL) return(EINVAL);
588 if (proc_id == -1 && signo == SIGTERM)
601 if (proc_id > 0 && proc_id != rmp->mp_pid) continue;
602 if (proc_id == 0 && mp->mp_procgrp != rmp->mp_procgrp) continue;
603 if (proc_id == -1 && rmp->mp_pid <= INIT_PID) continue;
604 if (proc_id < -1 && rmp->mp_procgrp != -proc_id) continue;
607 if (proc_id == -1 && signo == SIGKILL &&
640 if (proc_id > 0) break; /* only one process being signaled */