3 ms·
Should be noted, that by default on OpenBSD, an RWX page is impossible, mprotect() will fail and the process will get killed trying.
by throwaway2048 7y ago
Should be noted, that by default on OpenBSD, an RWX page is impossible, mprotect() will fail and the process will get killed trying.
- saagarjha 7y agoSurely there is an “out” for JITs that have not yet adopted W^X?
- tedunangst 7y agoAn opt in actually, to request looser checks.
- lostmsu 7y agoCan't you make page temporarily RW, JIT, then switch back to RX?
- saagarjha 7y agoYou can, but the application needs to support this.