News for hackers. Stuff that matters.
Re:OpenBSD's kernel gets W^X treatment by k__ on Wednesday January 14, 2015 @01:32AM (#8884685)
So they can but don't have to be marked?
Re:OpenBSD's kernel gets W^X treatment by taejo on Wednesday January 14, 2015 @05:22AM (#8885400)
Yes. Many programs rely on W&X (I believe the JVM is a prominent example)
Re:OpenBSD's kernel gets W^X treatment by masklinn on Wednesday January 14, 2015 @06:55AM (#8885669)
Any JIT-based system requires executable writable memory. This includes the JVM, LuaJIT, Pypy, HHVM and all modern browsers.
Re:OpenBSD's kernel gets W^X treatment by m_eiman on Wednesday January 14, 2015 @07:50AM (#8885878)
It'd be quite possible for a JIT to have the memory first writable but not executable when creating the code, then the other way around when running it. No need to be both at the same time.