Author: spouliot
Date: 2005-04-04 08:29:12 -0400 (Mon, 04 Apr 2005)
New Revision: 42514
Modified:
trunk/mcs/class/corlib/System.Security.Policy/ChangeLog
trunk/mcs/class/corlib/System.Security.Policy/Evidence.cs
Log:
2005-04-04 Sebastien Pouliot <[EMAIL PROTECTED]>
* Evidence.cs: Build the default host evidences requires access to the
file system even if running on partial trust (so we assert it).
Modified: trunk/mcs/class/corlib/System.Security.Policy/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Security.Policy/ChangeLog 2005-04-04
12:26:53 UTC (rev 42513)
+++ trunk/mcs/class/corlib/System.Security.Policy/ChangeLog 2005-04-04
12:29:12 UTC (rev 42514)
@@ -1,3 +1,8 @@
+2005-04-04 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * Evidence.cs: Build the default host evidences requires access to the
+ file system even if running on partial trust (so we assert it).
+
2005-01-19 Sebastien Pouliot <[EMAIL PROTECTED]>
* PolicyLevel.cs: Fixed RemoveNamedPermissionSet when used with a
Modified: trunk/mcs/class/corlib/System.Security.Policy/Evidence.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Policy/Evidence.cs 2005-04-04
12:26:53 UTC (rev 42513)
+++ trunk/mcs/class/corlib/System.Security.Policy/Evidence.cs 2005-04-04
12:29:12 UTC (rev 42514)
@@ -260,6 +260,7 @@
// this avoid us to build all evidences from the runtime
// (i.e. multiple unmanaged->managed calls) and also allows
// to delay their creation until (if) needed
+ [FileIOPermission (SecurityAction.Assert, Unrestricted = true)]
static internal Evidence GetDefaultHostEvidence (Assembly a)
{
Evidence e = new Evidence ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches