diff options
author | csjp <csjp@FreeBSD.org> | 2011-01-03 21:28:12 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2011-01-03 21:28:12 +0000 |
commit | 48ae57efdbff9d38effbc1f0dfb939c0ed0e68a9 (patch) | |
tree | 629ddbcda24e1842b7355bd4451398e70e42b6b1 /Makefile | |
parent | 53f27d6094f8d165bcafb24f7a049f6b3cf2a986 (diff) | |
download | FreeBSD-src-48ae57efdbff9d38effbc1f0dfb939c0ed0e68a9.zip FreeBSD-src-48ae57efdbff9d38effbc1f0dfb939c0ed0e68a9.tar.gz |
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
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions