When doing the fork+exec'ing for ssh-keysign, rearrange the socket
authorderaadt <deraadt@openbsd.org>
Wed, 15 May 2019 04:43:31 +0000 (04:43 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 15 May 2019 04:43:31 +0000 (04:43 +0000)
commit5d0c98376cc17c8f9602db5fda58256754ac0438
tree84affc06251868ada4bd546e6f0c658b4ff810bd
parentbe9830a92f709253d1d04fad1d884fdbb0d357ea
When doing the fork+exec'ing for ssh-keysign, rearrange the socket
into fd3, so as to not mistakenly leak other fd forward accidentally.
ok djm
usr.bin/ssh/sshconnect2.c