From owner-p4-projects@FreeBSD.ORG Tue Jul 24 18:49:45 2012 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C7C7910657ED; Tue, 24 Jul 2012 18:49:44 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D23910657C9 for ; Tue, 24 Jul 2012 18:49:44 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 653A08FC0C for ; Tue, 24 Jul 2012 18:49:44 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id q6OIniAW003648 for ; Tue, 24 Jul 2012 18:49:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id q6OInidX003644 for perforce@freebsd.org; Tue, 24 Jul 2012 18:49:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 24 Jul 2012 18:49:44 GMT Message-Id: <201207241849.q6OInidX003644@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 214868 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 18:49:45 -0000 http://p4web.freebsd.org/@@214868?ac=10 Change 214868 by rwatson@rwatson_svr_ctsrd_mipsbuild on 2012/07/24 18:49:39 When initialising user context following execve(), be sure to set PCC to the user capability, rather than a null capability. Affected files ... .. //depot/projects/ctsrd/cheribsd/src/sys/mips/cheri/cp2.c#12 edit Differences ... ==== //depot/projects/ctsrd/cheribsd/src/sys/mips/cheri/cp2.c#12 (text+ko) ==== @@ -483,7 +483,7 @@ cp2_capability_set_null(&cfp->cf_c23); cp2_capability_set_null(&cfp->cf_c24); cp2_capability_set_null(&cfp->cf_tsc); - cp2_capability_set_null(&cfp->cf_pcc); + cp2_capability_set_user(&cfp->cf_pcc); } #ifdef DDB