]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Log pathname arguments to ftp commands as the user specified them;
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Thu, 18 Nov 2004 10:02:28 +0000 (10:02 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Thu, 18 Nov 2004 10:02:28 +0000 (10:02 +0000)
commit6b2dee6ba12ae8743debe6d433de1851488b09c8
treec23dfacce99c744fff42d289816da493039495e7
parentac4f2391bea239960fb4d947c9899e4cd19d5062
Log pathname arguments to ftp commands as the user specified them;
add the working directory pathname to the log message if any of
such arguments isn't absolute.  This has advantage over the old
way of logging that an admin can see what users are actually trying
to do, and where.  The old code was also not too robust when it
came to a chrooted session and an absolute pathname.

Pointed out by: Nick Leuta
MFC after:      2 weeks
libexec/ftpd/ftpd.c