W^X violations are only permitted for binaries marked "wxneeded" on
authorderaadt <deraadt@openbsd.org>
Mon, 8 Aug 2016 17:15:51 +0000 (17:15 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 8 Aug 2016 17:15:51 +0000 (17:15 +0000)
commit1317a5dd6b8baf9323cd8fe61e2506c37e827054
tree1666e2c8f4aef73abc34201c8a4fd5a29389a012
parent5611b0c10afa85df4d0017d36b2198bc610967ae
W^X violations are only permitted for binaries marked "wxneeded" on
"wxallowed" filesystems.  mmap(2) & mprotect(2) now return ENOTSUP.
(To diagnose buggy programs, consider using sysctl kern.wxabort=1 and
looking at the coredumps)
ok kettenis tedu naddy
sys/uvm/uvm_mmap.c