Date: Tue, 24 Jul 2012 18:49:44 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 214868 for review Message-ID: <201207241849.q6OInidX003644@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207241849.q6OInidX003644>