Lines Matching defs:pid
344 pid_t pid;
347 while ((pid = waitpid(-1, &status, WNOHANG)) > 0 ||
348 (pid < 0 && errno == EINTR))
587 pid_t pid;
597 pid = fork();
598 if (pid == -1) {
600 } else if (pid != 0) {
601 debug2("Network child is on pid %ld", (long)pid);
603 pmonitor->m_pid = pid;
613 ssh_sandbox_parent_preauth(box, pid);
617 while (waitpid(pid, &status, 0) < 0) {
672 verbose("User child is on pid %ld", (long)pmonitor->m_pid);
1129 pid_t pid;
1261 pid = getpid();
1276 if ((pid = fork()) == 0) {
1281 * logging (since our pid has changed).
1301 platform_post_fork_parent(pid);
1302 if (pid < 0)
1305 debug("Forked child %ld.", (long)pid);
1895 * Write out the pid file after the sigterm handler
1902 error("Couldn't create pid file \"%s\": %s",