]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream commit
authorkrw@openbsd.org <krw@openbsd.org>
Sat, 2 Apr 2016 14:37:42 +0000 (14:37 +0000)
committerDarren Tucker <dtucker@zip.com.au>
Fri, 8 Apr 2016 04:12:18 +0000 (14:12 +1000)
commit574def0eb493cd6efeffd4ff2e9257abcffee0c8
treebbb66ad781b86ca0c02b38e19564fe17e5e23e2d
parentb3413534aa9d71a941005df2760d1eec2c2b0854
upstream commit

Another use for fcntl() and thus of the superfluous 3rd
 parameter is when sanitising standard fd's before calling daemon().

Use a tweaked version of the ssh(1) function in all three places
found using fcntl() this way.

ok jca@ beck@

Upstream-ID: f16811ffa19a1c5f4ef383c5f0fecb843c84e218
misc.c