freebsd-dev/libexec/ftpd
Kurt Lidl 504422fab3 Update blacklist support in ftpd to clarify fd usage
The ftp daemon dups the control socket to stdin and uses that fd
throughout the code.  Clarify this usage slightly by changing from
explicit use of "0" for the fd to a variable, to make it clear what
the zero represents in the non-blacklist code. Make the
blacklist_notify routine use STDIN_FILENO so as to have less of a
"magic number" feel to the code.

Reviewed by:	cem
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D6716
2016-06-06 20:00:13 +00:00
..
blacklist_client.h Add blacklist support to ftpd 2016-06-03 06:24:03 +00:00
blacklist.c Update blacklist support in ftpd to clarify fd usage 2016-06-06 20:00:13 +00:00
config.h
extern.h Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:12:31 +00:00
ftpchroot.5
ftpcmd.y Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:12:31 +00:00
ftpd.8 Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
ftpd.c Update blacklist support in ftpd to clarify fd usage 2016-06-06 20:00:13 +00:00
logwtmp.c Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
Makefile Add blacklist support to ftpd 2016-06-03 06:24:03 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
pathnames.h Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
popen.c libexec: minor spelling fixes in comments. 2016-05-01 19:39:23 +00:00