Searched refs:pgid (Results 1 – 1 of 1) sorted by relevance
261 pid_t pgid = getpgid(pid); in DoKillProcessGroupOnce() local262 if (pgid == -1) PLOG(ERROR) << "getpgid(" << pid << ") failed"; in DoKillProcessGroupOnce()263 if (pgid == pid) { in DoKillProcessGroupOnce()272 pid_t pgid = getpgid(*it); in DoKillProcessGroupOnce() local273 if (pgids.count(pgid) == 1) { in DoKillProcessGroupOnce()281 for (const auto pgid : pgids) { in DoKillProcessGroupOnce() local282 LOG(VERBOSE) << "Killing process group " << -pgid << " in uid " << uid in DoKillProcessGroupOnce()285 if (kill(-pgid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce()286 PLOG(WARNING) << "kill(" << -pgid << ", " << signal << ") failed"; in DoKillProcessGroupOnce()