From owner-cvs-all@FreeBSD.ORG Wed Nov 17 10:01:48 2004 Return-Path: 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 C0BD716A694; Wed, 17 Nov 2004 10:01:48 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ACC643D3F; Wed, 17 Nov 2004 10:01:48 +0000 (GMT) (envelope-from delphij@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 iAHA1mSQ052093; Wed, 17 Nov 2004 10:01:48 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAHA1mZP052092; Wed, 17 Nov 2004 10:01:48 GMT (envelope-from delphij) Message-Id: <200411171001.iAHA1mZP052092@repoman.freebsd.org> From: Xin LI Date: Wed, 17 Nov 2004 10:01:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/jail Makefile jail.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 17 Nov 2004 10:01:48 -0000 delphij 2004-11-17 10:01:48 UTC FreeBSD src repository Modified files: usr.sbin/jail Makefile jail.c Log: Initialize lcap and pwd to NULL. This allows a WARNS=6 clean build, hence bump it to 6. Note that the last commit message was not quite accurate. While the assumption exists in the code, it's not possible to have an uninitialized p there because if lflag is set when username is NULL then execution would be terminated earlier. Revision Changes Path 1.10 +1 -1 src/usr.sbin/jail/Makefile 1.20 +2 -2 src/usr.sbin/jail/jail.c