cvs commit: src/libexec/ftpd ftpd.c

Maxim Konovalov maxim at FreeBSD.org
Fri Sep 24 06:21:52 PDT 2004


maxim       2004-09-24 13:21:52 UTC

  FreeBSD src repository

  Modified files:
    libexec/ftpd         ftpd.c 
  Log:
  o Merge rev. 1.5 libexec/ftpd/ftpd.c from DragonflyBSD:
  
    Do not unconditionally fork() after accept().  accept() can
    return -1 due to an interrupted system call (i.e. SIGCHLD).
    If we fork in that case ftpd can get into an
    accept()/SIGCHLD/fork/[fail]/repeat loop.
  
    Reported-by: fabian <fabian.duelli at bluewin.ch>
  
  Obtained from:  DragonflyBSD
  MFC after:      1 month
  
  Revision  Changes    Path
  1.164     +2 -0      src/libexec/ftpd/ftpd.c


More information about the cvs-src mailing list