freebsd-dev/libexec/ftpd
Christian S.J. Peron cefb678553 expand checkuser() to support the propagation of error codes back to
the caller.  Currently, checkuser() does not differentiate between the
failure to open the file and the absence of a user in the file.  Check
to see if there was an error opening the file.  If there are any errors,
terminate the connection.  Currently, the only exception to this rule
is ENOENT, since there is nothing that says the /etc/ftpuser
and /etc/ftpchroot has to exist.

MFC after:	3 weeks
2011-01-03 21:28:12 +00:00
..
config.h
extern.h Move variable externs into extern.h so they are checked against the definitions. 2009-04-07 20:34:34 +00:00
ftpchroot.5 Assorted mdoc(7) fixes. 2003-06-01 19:52:36 +00:00
ftpcmd.y Move variable externs into extern.h so they are checked against the definitions. 2009-04-07 20:34:34 +00:00
ftpd.8 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
ftpd.c expand checkuser() to support the propagation of error codes back to 2011-01-03 21:28:12 +00:00
logwtmp.c Set ut_line to "ftpd" for ftpd. 2010-02-09 07:35:12 +00:00
Makefile Fix compilation of ftpcmd.y without -DINET6. 2006-06-05 15:50:34 +00:00
pathnames.h
popen.c Check that gl_pathc is bigger than zero before derefencing gl_pathv. 2010-03-25 22:41:01 +00:00