From owner-p4-projects@FreeBSD.ORG Sun Jan 27 15:59:03 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4322516A41B; Sun, 27 Jan 2008 15:59:03 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0851716A418 for ; Sun, 27 Jan 2008 15:59:03 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EB67413C468 for ; Sun, 27 Jan 2008 15:59:02 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0RFx2kc001020 for ; Sun, 27 Jan 2008 15:59:02 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0RFx2wp001017 for perforce@freebsd.org; Sun, 27 Jan 2008 15:59:02 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 27 Jan 2008 15:59:02 GMT Message-Id: <200801271559.m0RFx2wp001017@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 134204 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 15:59:03 -0000 http://perforce.freebsd.org/chv.cgi?CH=134204 Change 134204 by rwatson@rwatson_freebsd_capabilities on 2008/01/27 15:58:19 binvp should always be initialized as part of the normal run path, so don't NULL up front in order to catch the future introduction of cases where it isn't. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exec.c#6 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exec.c#6 (text+ko) ==== @@ -315,7 +315,7 @@ struct vnode *tracevp = NULL; struct ucred *tracecred = NULL; #endif - struct vnode *textvp = NULL, *binvp = NULL; + struct vnode *textvp = NULL, *binvp; int credential_changing; int vfslocked; int textset;