Blame SOURCES/vsftpd-close-std-fds.patch

bd78b8
diff -up vsftpd-2.0.7/standalone.c.close-fds vsftpd-2.0.7/standalone.c
bd78b8
--- vsftpd-2.0.7/standalone.c.close-fds	2008-09-08 23:36:32.000000000 -0400
bd78b8
+++ vsftpd-2.0.7/standalone.c	2008-09-08 23:37:53.000000000 -0400
bd78b8
@@ -131,6 +131,9 @@ vsf_standalone_main(void)
bd78b8
       die("could not bind listening IPv6 socket");
bd78b8
     }
bd78b8
   }
bd78b8
+  vsf_sysutil_close(0);
bd78b8
+  vsf_sysutil_close(1);
bd78b8
+  vsf_sysutil_close(2);
bd78b8
   retval = vsf_sysutil_listen(listen_sock, VSFTP_LISTEN_BACKLOG);
bd78b8
   if (vsf_sysutil_retval_is_error(retval))
bd78b8
   {