Y
Hacker News
new
|
ask
|
show
|
jobs
by
shakna
104 days ago
The wiki page mentions this is only a minor problem. Because everyone just writes, then switches and executes.
1 comments
asdfsa32
104 days ago
But this means that you have to decide who is allowed to switch.
link
shakna
103 days ago
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.
link