From 883736a0ad3b521c8210cc7e6cbc2cb302aca43c Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Thu, 17 Mar 2016 11:44:45 +0100 Subject: [PATCH 06/26] Applied vsftpd-close-std-fds.patch --- standalone.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/standalone.c b/standalone.c index ba01ab1..e0f2d5b 100644 --- a/standalone.c +++ b/standalone.c @@ -130,6 +130,9 @@ vsf_standalone_main(void) die("could not bind listening IPv6 socket"); } } + vsf_sysutil_close(0); + vsf_sysutil_close(1); + vsf_sysutil_close(2); retval = vsf_sysutil_listen(listen_sock, VSFTP_LISTEN_BACKLOG); if (vsf_sysutil_retval_is_error(retval)) { -- 2.5.0