From owner-cvs-all@FreeBSD.ORG Fri Oct 6 14:58:17 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE3716A4CA; Fri, 6 Oct 2006 14:58:17 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A62DE43D49; Fri, 6 Oct 2006 14:58:17 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k96EwHEn022068; Fri, 6 Oct 2006 14:58:17 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k96EwHfv022067; Fri, 6 Oct 2006 14:58:17 GMT (envelope-from delphij) Message-Id: <200610061458.k96EwHfv022067@repoman.freebsd.org> From: Xin LI Date: Fri, 6 Oct 2006 14:58:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/login login.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 14:58:18 -0000 delphij 2006-10-06 14:58:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/login login.c Log: MFC revision 1.101 (cognet@): A temporary fix that in case of pwd == NULL, do not call audit_logout() which attempts to deference it. This is not quite correct, as we should audit the event even it is not attributable to a specific user. For now, just put the temporary fix in, so login(1) would not get signal 11 upon the case that for instance, ^D at the Login: prompt without providing a valid login before.i Approved by: re (rwatson) PR: bin/103873 Discussed with: rwatson, csjp Revision Changes Path 1.99.2.2 +4 -1 src/usr.bin/login/login.c