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

pthread_jit_write_with_callback_np() vs. pthread_jit_write_protect_np() #682

Open
marceltaeumel opened this issue Apr 17, 2024 · 1 comment

Comments

@marceltaeumel
Copy link
Contributor

Apple suggests pthread_jit_write_with_callback_np() and a JIT callback allow list via the com.apple.security.cs.jit-write-allowlist entitlement as the way to port a JIT to Apple silicon.

We use pthread_jit_write_protect_np() at this point. How much longer is this going to work? Maybe we want to refactor this to the callback approach?

This is just a heads-up. 😺

@krono
Copy link
Member

krono commented Apr 17, 2024

Note the entitlement way is confined to hardenen runtime app which is probably not our concern

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

No branches or pull requests

2 participants