logoalt Hacker News

asdfsa32yesterday at 9:09 AM1 replyview on HN

But this means that you have to decide who is allowed to switch.


Replies

shaknayesterday at 8:38 PM

VirtualProtect/mprotect aren't privileged calls on any modern OS.

It's how you do JIT on macOS, where W^X is enforced, for example.