logoalt Hacker News

shaknayesterday at 8:38 PM0 repliesview on HN

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.