search for: child_has_selected

Displaying 4 results from an estimated 4 matches for "child_has_selected".

2000 Oct 27
1
Typo in 2.2.0p1 ??
I don't already figure out what is the real impact of this but I think there is a typo in function sigchld_handler() in serverloop.c (l 75). It is written if (WIFEXITED(child_wait_status) || WIFSIGNALED(child_wait_status)) child_terminated = 1; child_has_selected = 0; But I think one actually means: if (WIFEXITED(child_wait_status) || WIFSIGNALED(child_wait_status)) { child_terminated = 1; child_has_selected = 0; } Regards, Philippe
2000 Aug 08
0
v2 connection logging vs v1
...does: verbose("Connection closed by remote host."); fatal_cleanup(); Comparing the v1 server_loop and the v2 server_loop2, the v1 loop appears to have significantly more checks for breaking the loop: if (((fdout_eof && fderr_eof) || (child_terminated && child_has_selected)) && !packet_have_data_to_write() && (buffer_len(&stdout_buffer) == 0) && (buffer_len(&stderr_buffer) == 0)) { if (!channel_still_open()) break; as well as other useful logging information, like: debug(&quo...
2000 Aug 13
1
Patches for openssh port forwarding
...char *ciphers; /* Ciphers in order of preference. */ diff -u -r openssh-2.1.1p4/serverloop.c openssh-2.1.1p4-jhchanges/serverloop.c --- openssh-2.1.1p4/serverloop.c Tue Jul 11 10:31:38 2000 +++ openssh-2.1.1p4-jhchanges/serverloop.c Sun Aug 13 14:06:06 2000 @@ -58,6 +58,9 @@ static volatile int child_has_selected; /* Child has had chance to drain. */ static volatile int child_wait_status; /* Status from wait(). */ +/* Jarno: Needed to check if port_forwarding is allowed */ +extern ServerOptions options; + void server_init_dispatch(void); void @@ -722,7 +725,10 @@ originator, originator_port, tar...
2000 Nov 22
2
fds closed after SIGCHLD bug still in newest version (fwd)
can someone confirm this? it does not happen on openbsd. -------------- next part -------------- An embedded message was scrubbed... From: Florian Wunderlich <fwunderlich at devbrain.de> Subject: Re: fds closed after SIGCHLD bug still in newest version Date: Wed, 22 Nov 2000 14:44:17 +0100 Size: 3926 Url: