PERFORCE change 214868 for review

Robert Watson rwatson at FreeBSD.org
Tue Jul 24 18:49:45 UTC 2012


http://p4web.freebsd.org/@@214868?ac=10

Change 214868 by rwatson at 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


More information about the p4-projects mailing list