commit | 574def0eb493cd6efeffd4ff2e9257abcffee0c8 | [log] [download] |
---|---|---|
author | krw@openbsd.org <krw@openbsd.org> | Sat Apr 02 14:37:42 2016 +0000 |
committer | Darren Tucker <dtucker@zip.com.au> | Fri Apr 08 14:12:18 2016 +1000 |
tree | bbb66ad781b86ca0c02b38e19564fe17e5e23e2d | |
parent | b3413534aa9d71a941005df2760d1eec2c2b0854 [diff] |
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