Searched refs:sshpid (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | sftp.c | 83 static volatile pid_t sshpid = -1; variable 225 pid = sshpid; in killchild() 238 if (sshpid > 1) { in suspchild() 239 kill(sshpid, signo); in suspchild() 240 while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR) in suspchild() 267 while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR) in sigchld_handler() 269 if (pid == sshpid) { in sigchld_handler() 271 sshpid = -1; in sigchld_handler() 2322 if ((sshpid = fork()) == -1) in connect_to_server() 2324 else if (sshpid == 0) { in connect_to_server() [all …]
|
/external/curl/tests/ |
D | runtests.pl | 2168 my $sshpid; 2184 ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0); 2190 if($sshpid <= 0 || !pidexists($sshpid)) { 2194 $sshpid = $pid2 = 0; 2213 stopserver($server, "$sshpid $pid2"); 2215 $sshpid = $pid2 = 0; 2223 logmsg "RUN: failed to start the $srvrname server on $port\n" if(!$sshpid); 2245 return ($pid2, $sshpid, $wport);
|