You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1474447 - Use MAP_JIT on Intel Macs too. r=iain
We've been using `MAP_JIT` on Apple Silicon since bug 1837194.
With this change we no longer need the `com.apple.security.cs.allow-unsigned-executable-memory`
entitlement for the JITs (pre-release Firefox still needs it for the `IOInterposer`
on Intel).
Support for `MAP_JIT` is enabled by the separate `com.apple.security.cs.allow-jit` entitlement.
Intel Macs don't have the `pthread_jit_write_protect_np` API, so we use a similar
strategy as on Apple Silicon but with `mprotect` added to it.
Differential Revision: https://phabricator.services.mozilla.com/D197787
0 commit comments