cvs commit: src/libexec/ftpd ftpd.c

Yar Tikhiy yar at FreeBSD.org
Sat Jan 21 05:06:38 PST 2006


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


More information about the cvs-src mailing list