cvs commit: src/libexec/ftpd ftpcmd.y

Yar Tikhiy yar at FreeBSD.org
Wed Jul 9 06:54:34 PDT 2003


yar         2003/07/09 06:54:33 PDT

  FreeBSD src repository

  Modified files:
    libexec/ftpd         ftpcmd.y 
  Log:
  Block SIGURG while reading from the control channel.
  
  Rationale:
  
  SIGURG is configured by ftpd to interrupt system calls, which is useful
  during data transfers.  However, SIGURG could interrupt I/O on the
  control channel as well, which was mistaken for the end of the session.
  
  A practical example could be aborting the download of a tiny file,
  when the abort sequence reached ftpd after ftpd had passed the file
  data to the system and returned to its command loop.
  
  Reported by:    ceri
  MFC after:      1 week
  
  Revision  Changes    Path
  1.54      +6 -0      src/libexec/ftpd/ftpcmd.y


More information about the cvs-src mailing list