Home | History | Annotate | Download | only in init

Lines Matching defs:pid

55     pid_t pid = TEMP_FAILURE_RETRY(waitpid(-1, &status, WNOHANG));
56 if (pid == 0) {
58 } else if (pid == -1) {
63 service* svc = service_find_by_pid(pid);
67 name = android::base::StringPrintf("Service '%s' (pid %d)", svc->name, pid);
69 name = android::base::StringPrintf("Untracked pid %d", pid);
81 NOTICE("Service '%s' (pid %d) killing any children in process group\n", svc->name, pid);
82 kill(-pid, SIGKILL);
93 INFO("SVC_EXEC pid %d finished...\n", svc->pid);
101 svc->pid = 0;