View | Details | Raw Unified | Return to bug 1706
Collapse All | Expand All

(-)openssh-5.3p1/sshd.c.cloexec (+4 lines)
Lines 1756-1761 main(int ac, char **av) Link Here
1756
		    sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1756
		    sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1757
	}
1757
	}
1758
1758
1759
	/* set fd cloexec on io/sockets to avoid to forward them to childern */
1760
	fcntl(sock_out, F_SETFD, FD_CLOEXEC);
1761
	fcntl(sock_in, F_SETFD, FD_CLOEXEC);
1762
1759
	/*
1763
	/*
1760
	 * Disable the key regeneration alarm.  We will not regenerate the
1764
	 * Disable the key regeneration alarm.  We will not regenerate the
1761
	 * key since we are no longer in a position to give it to anyone. We
1765
	 * key since we are no longer in a position to give it to anyone. We

Return to bug 1706