Home
last modified time | relevance | path

Searched refs:sshpid (Results 1 – 2 of 2) sorted by relevance

/dragonfly/usr.bin/vknet/
H A Dvknet.c72 pid_t sshpid = -1; in main() local
135 sshpid = vknet_execssh(fds[1], fds[1], compressOpt, in main()
150 if (sshpid > 0) { in main()
151 if (kill(sshpid, SIGTERM) != 0) in main()
153 while ((p = waitpid(sshpid, NULL, 0)) != sshpid) { in main()
157 sshpid = -1; in main()
/dragonfly/crypto/openssh/
H A Dsftp.c80 static volatile pid_t sshpid = -1; variable
226 pid = sshpid; in killchild()
239 if (sshpid > 1) { in suspchild()
240 kill(sshpid, signo); in suspchild()
241 while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR) in suspchild()
275 while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR) in sigchld_handler()
277 if (pid == sshpid) { in sigchld_handler()
279 sshpid = -1; in sigchld_handler()
2365 if ((sshpid = fork()) == -1) in connect_to_server()
2367 else if (sshpid == 0) { in connect_to_server()
[all …]