On 1/12/21 5:28 PM, Roman Bolshakov wrote: > Pages can't be both write and executable at the same time on Apple > Silicon. macOS provides public API to switch write protection [1] for > JIT applications, like TCG.
So... considering that split w^x is now upstream, can we just call this once per thread to enable write and leave it write? Since we have the separate rw mapping. r~