Open marceltaeumel opened 7 months ago
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.
pthread_jit_write_with_callback_np()
com.apple.security.cs.jit-write-allowlist
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?
pthread_jit_write_protect_np()
This is just a heads-up. 😺
Note the entitlement way is confined to hardenen runtime app which is probably not our concern
Apple suggests
pthread_jit_write_with_callback_np()
and a JIT callback allow list via thecom.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. 😺