Date: Sat, 21 Jan 2006 13:06:38 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c Message-ID: <200601211306.k0LD6cTD080173@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2006-01-21 13:06:38 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: In the daemon code, check for and report possible errors from accept(2) and fork(2). Also close all unneeded fds in the child process, namely listening sockets for all address families and the fd initially obtained from accept(2). (The main ftpd code operates on stdin/stdout anyway as it has been designed for running from inetd.) MFC after: 5 days Revision Changes Path 1.209 +22 -14 src/libexec/ftpd/ftpd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601211306.k0LD6cTD080173>