cvs commit: src/libexec/ftpd ftpd.c

Maxim Konovalov maxim at
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 
  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>
  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