[Mono-bugs] [Bug 387274] Type verification is enforced even when SkipVerification is requested

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 7 16:26:01 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=387274

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387274#c14





--- Comment #14 from Sebastien Pouliot <spouliot at novell.com>  2008-05-07 14:26:01 MST ---
Zoltan, I guess you meant we turn *off* the verifier :)


Anyway we can do anything since we're making this a special, mono-specific
case.

(a) MS at fulltrust always has it's verifier (or at least parts of it) off.
Mono (always at fulltrust) will have it's own on, except if SkipVerification is
present. This means the same application modified/re-assembled without
SkipVerification would still fail under Mono (and run, at fulltrust, under MS
runtime).

(b) if we don't re-use (or duplicate) CAS code then we'll miss cases where a
superset of SkipVerification is being used. E.g. an unrestricted
SecurityPermission, an unrestricted PermissionSet, a NamedPermissionSet, ...
and probably others that indirectly implies fulltrust (e.g. UnmanagedCode) but
that would need testing

Both cases are unlikely to be found out of "common" compilers.


[1] and I don't really mind that since it has it's own advantages too


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list