Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Mojave "Hardened Runtime" #9210

Closed
chamons opened this issue Jun 18, 2018 · 8 comments
Closed

macOS Mojave "Hardened Runtime" #9210

chamons opened this issue Jun 18, 2018 · 8 comments
Assignees
Labels

Comments

@chamons
Copy link
Contributor

chamons commented Jun 18, 2018

A Xamairn.Mac user pointed out that in 10.14 there is a new MAP_JIT for mmap that you can pass. When combined with some entitlement, you can enable a "hardened runtime" mode that may become mandatory in the future.

xamarin/xamarin-macios#4288

Mono should look into what changes are needed for this.

@vargaz
Copy link
Contributor

vargaz commented Jun 18, 2018

Is there any documentation on this ?

@chamons
Copy link
Contributor Author

chamons commented Jun 18, 2018

I checked https://asciiwwdc.com/ but I couldn't find anything yet...

@vargaz
Copy link
Contributor

vargaz commented Jun 18, 2018

@vargaz
Copy link
Contributor

vargaz commented Jun 18, 2018

Around the 20 minute mark.

@marek-safar marek-safar added this to Backlog in Short Term Projects via automation Jun 19, 2018
@NattyNarwhal
Copy link
Contributor

Somewhat adjacent may be OpenBSD's MAP_STACK mmap flag.

@chamons
Copy link
Contributor Author

chamons commented Aug 1, 2018

@vargaz I saw https://github.com/mono/mono/pull/9419/files, is that sufficient for this from runtime?

@vargaz
Copy link
Contributor

vargaz commented Aug 1, 2018

That adds support for the MAP_JIT flag, not sure what else is needed.

@chamons
Copy link
Contributor Author

chamons commented Jan 10, 2019

This can be considered complete. Awhile ago I did sufficient hand testing to verify the MAP_JIT work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

4 participants