mono/mono — pull request #362 by JamesB7 (2012-06-30 11:23:32+00:00)
Title: Fix System.Security.AccessControl.MutexAccessRule's constructor.

MutexAccessRule... previously entirely broken as it passed 0 for accessMask.

Now, accessMask matches the MutexRules passed in. The MutexRules enum is a bitmask
corresponding to Win32 ACE accessMasks and the two match.

I verified that accessMask corresponds directly to the MutexRules passed in the
constructor on Win32 by comparing the AccessMask property (read by Reflection) with MutexRights.
It stands to reason, and it turns out to be the case. System.Security.AccessControl
is still mostly broken but this at least corrects MutexAccessRule.