Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
thekingofh
6y ago
0 comments
Save
Share
I think you mean that you can have interpreted javascript, just not JIT compilers. They don't allow you to mark memory as executable. That syscall is completely disabled on their systems.
0 comments
5 comments · 2 top-level
top
newest
oldest
saagarjha
6y ago
· 2 in thread
It is not, moprotect (and mach_vm_protect) work just fine if you have the appropriate entitlements or have a way of getting around its checks.
thekingofh
OP
6y ago
I think the entitlements are not offered to apps such as firefox and those that are not Apple correct?
saagarjha
6y ago
Some of them are, but they cannot be used with apps delivered on the App Store.
vbezhenar
6y ago
· 1 in thread
It can't be disabled because Safari and Webkit uses JIT for JavaScript. Probably it's enabled for apps signed by Apple.
thekingofh
OP
6y ago
True it is disabled if you aren't Apple.
j
/
k
navigate · click thread line to collapse