search for: wait_status

Displaying 5 results from an estimated 5 matches for "wait_status".

Did you mean: exit_status
2002 Mar 29
1
Two patches for OpenSSH 3.1p1 (fwd)
...1p1-peter/serverloop.c *** openssh-3.1p1/serverloop.c Fri Feb 8 12:07:17 2002 --- openssh-3.1p1-peter/serverloop.c Mon Mar 18 22:01:02 2002 *************** *** 673,679 **** /* We no longer want our SIGCHLD handler to be called. */ mysignal(SIGCHLD, SIG_DFL); ! wait_pid = waitpid(-1, &wait_status, 0); if (wait_pid == -1) packet_disconnect("wait: %.100s", strerror(errno)); else if (wait_pid != pid) --- 673,681 ---- /* We no longer want our SIGCHLD handler to be called. */ mysignal(SIGCHLD, SIG_DFL); ! while ((wait_pid = waitpid(-1, &wait_status, 0)) < 0 &...
2002 Mar 26
1
Two patches for OpenSSH 3.1p1
...1p1-peter/serverloop.c *** openssh-3.1p1/serverloop.c Fri Feb 8 12:07:17 2002 --- openssh-3.1p1-peter/serverloop.c Mon Mar 18 22:01:02 2002 *************** *** 673,679 **** /* We no longer want our SIGCHLD handler to be called. */ mysignal(SIGCHLD, SIG_DFL); ! wait_pid = waitpid(-1, &wait_status, 0); if (wait_pid == -1) packet_disconnect("wait: %.100s", strerror(errno)); else if (wait_pid != pid) --- 673,681 ---- /* We no longer want our SIGCHLD handler to be called. */ mysignal(SIGCHLD, SIG_DFL); ! while ((wait_pid = waitpid(-1, &wait_status, 0)) < 0 &...
2002 Apr 05
1
[Bug 100] serverloop.c modifications for correct UNICOS behavior
http://bugzilla.mindrot.org/show_bug.cgi?id=100 ------- Additional Comments From mouring at eviladmin.org 2002-04-06 06:52 ------- The following code was committed to OpenSSH to catch some SysV issue. Does this keep UNICOS happy? while ((wait_pid = waitpid(-1, &wait_status, 0)) < 0) if (errno != EINTR) packet_disconnect("wait: %.100s", strerror(errno)); if (wait_pid != pid) error("Strange, wait returned pid %d, expected %d", wait_pid, pid); If so can you close...
2001 Jul 22
2
Patches for Cray T3Es running Unicossmk and SV1s running Unicos
This patch is against Cray patch against openssh-SNAP-20010710. Here a few notes about them: 1) rijndael does not work on cray due to the fact it is rooted in 32 bits. I looking for a fix, it may come form Wendy Palam. For now the cray default to the following cihpers for ssh version 2 ssh are: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour 2) Crays don't have setitimer so I
2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
...s", strerror(errno)); else if (wait_pid != pid) - error("Strange, wait returned pid %d, expected %d", - wait_pid, pid); + error("Strange, wait returned pid %ld, expected %ld", + (long)wait_pid, (long)pid); /* Check if it exited normally. */ if (WIFEXITED(wait_status)) { @@ -730,7 +730,7 @@ server_loop2(Authctxt *authctxt) if (pid > 0) session_close_by_pid(pid, status); else { - error("waitpid returned %d: %s", pid, strerror(errno)); + error("waitpid returned %ld: %s", (long)pid, strerror(errno)); break; } } =======...