From owner-cvs-src@FreeBSD.ORG Thu Nov 18 10:02:29 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28F0416A4CE; Thu, 18 Nov 2004 10:02:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05DBF43D1D; Thu, 18 Nov 2004 10:02:29 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iAIA2SCH043089; Thu, 18 Nov 2004 10:02:28 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAIA2SjZ043088; Thu, 18 Nov 2004 10:02:28 GMT (envelope-from yar) Message-Id: <200411181002.iAIA2SjZ043088@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 18 Nov 2004 10:02:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 10:02:29 -0000 yar 2004-11-18 10:02:28 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: 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 Revision Changes Path 1.184 +55 -33 src/libexec/ftpd/ftpd.c