[Mono-bugs] [Bug 375370] vbnc: Ignores security permission attributes
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 2 08:43:32 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=375370
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375370#c2
Sebastien Pouliot <spouliot at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spouliot at novell.com
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Sebastien Pouliot <spouliot at novell.com> 2008-04-02 06:43:31 MST ---
Yes security attributes are encoded differently than "normal" attributes. This
is why you see .permissionset instead of .custom in the IL.
The real problem is that your code *would* works only if CAS was enabled - and
Mono doesn't support it right now.
There is some (rather old) *experimental* CAS code in the runtime[1] but the
feature is not ready for production (no part of Mono have been completely
audited) and most (of the required) security attributes are missing from the
class library.
[1] you can try "mono --security=cas yourapp.exe" to see if it works as you
expect (it could ;-)
Marking as duplicate of #313506 since this is not a compiler related issue.
*** This bug has been marked as a duplicate of bug 313506 ***
https://bugzilla.novell.com/show_bug.cgi?id=313506
--
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