Lines Matching refs:signal
262 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument
314 if (kill(-pgid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce()
315 PLOG(WARNING) << "kill(" << -pgid << ", " << signal << ") failed"; in DoKillProcessGroupOnce()
324 if (kill(pid, signal) == -1 && errno != ESRCH) { in DoKillProcessGroupOnce()
325 PLOG(WARNING) << "kill(" << pid << ", " << signal << ") failed"; in DoKillProcessGroupOnce()
332 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in KillProcessGroup() argument
349 while ((processes = DoKillProcessGroupOnce(cgroup, uid, initialPid, signal)) > 0) { in KillProcessGroup()
390 int killProcessGroup(uid_t uid, int initialPid, int signal) { in killProcessGroup() argument
391 return KillProcessGroup(uid, initialPid, signal, 40 /*retries*/); in killProcessGroup()
394 int killProcessGroupOnce(uid_t uid, int initialPid, int signal) { in killProcessGroupOnce() argument
395 return KillProcessGroup(uid, initialPid, signal, 0 /*retries*/); in killProcessGroupOnce()