2 ms·
Oh, right, I just disabled that: https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ede54f5e https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ed
by saagarjha 6y ago
Oh, right, I just disabled that: https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ede54f5e https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ed...
- titzer 6y agoInteresting. Do you work for Apple? The qemu patches that split up the RX/RW jit regions are maddeningly complicated. I'm curious if anyone has suggested this solution to them?
- saagarjha 6y agoI don't. To be clear, this isn't an actual fix, it just turns off W^X enforcement altogether. It's certainly not something that should be merged upstream–the real fix should be to adopt W^X in the JIT (which is more complicated, as you may have seen).