Searched refs:pgid (Results 1 – 1 of 1) sorted by relevance
290 pid_t pgid = getpgid(pid); in DoKillProcessGroupOnce() local291 if (pgid == -1) PLOG(ERROR) << "getpgid(" << pid << ") failed"; in DoKillProcessGroupOnce()292 if (pgid == pid) { in DoKillProcessGroupOnce()301 pid_t pgid = getpgid(*it); in DoKillProcessGroupOnce() local302 if (pgids.count(pgid) == 1) { in DoKillProcessGroupOnce()310 for (const auto pgid : pgids) { in DoKillProcessGroupOnce() local311 LOG(VERBOSE) << "Killing process group " << -pgid << " in uid " << uid in DoKillProcessGroupOnce()314 if (kill(-pgid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce()315 PLOG(WARNING) << "kill(" << -pgid << ", " << signal << ") failed"; in DoKillProcessGroupOnce()