Skip to content

Commit

Permalink
Add hardened runtime testing to Catalina lane (mono/mono#15589)
Browse files Browse the repository at this point in the history
* Permit DYLD mangling, so p/invokes work from non-system paths

* Add com.apple.security.cs.disable-library-validation

This is required for the .dylibs used in p/invokes to work.

* Use adhoc signing


Commit migrated from mono/mono@202dca0
  • Loading branch information
Jo Shields authored and akoeplinger committed Jul 12, 2019
1 parent 69504b9 commit 38564d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mono/mono/mini/mac-entitlements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key><true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key><true/>
<key>com.apple.security.cs.disable-library-validation</key><true/>
</dict>
</plist>

0 comments on commit 38564d0

Please sign in to comment.