1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/libexec/ftpd
Yaroslav Tykhiy e25d3184d0 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
2003-07-09 13:54:33 +00:00
..
config.h
extern.h
ftpchroot.5 Assorted mdoc(7) fixes. 2003-06-01 19:52:36 +00:00
ftpcmd.y Block SIGURG while reading from the control channel. 2003-07-09 13:54:33 +00:00
ftpd.8 Add section number to .Xr 2003-06-08 12:40:50 +00:00
ftpd.c Make a malloced copy of "chrootdir" even if it points to an absolute 2003-07-09 12:46:24 +00:00
logwtmp.c Oops. Some ut_time stuff slipped through the cracks. These turned out 2002-11-17 23:46:45 +00:00
Makefile Extend the format of /etc/ftpchroot so an alternative chroot 2003-01-26 19:02:56 +00:00
pathnames.h
popen.c GLOB_QUOTE has been retired. 2002-07-17 05:47:49 +00:00