[Mac] Specify the MAP_JIT flag when allocating pages for V8.
In the future, macOS executables will be signed with the "runtime" option, which restricts the execution of writable memory. By specifying the MAP_JIT flag to mmap and code signing with the "com.apple.security.cs.allow-jit" entitlement, writable memory can be executed. Neither the runtime option or entitlement are currently specified during signing, but setting the MAP_JIT flag is harmless. The signing options will be specified in follow-up CLs. Bug: 850193 Change-Id: I834a75e65b815d5a9a62ef1e3d00e143b36d2ce4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1613809 Commit-Queue: Robert Sesek <rsesek@chromium.org> Reviewed-by:Chris Palmer <palmer@chromium.org> Cr-Commit-Position: refs/heads/master@{#660935}
Showing
Please register or sign in to comment