diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-27 19:45:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-27 19:45:05 +0000 |
commit | 78b5afaf3f7a760112fbfce28204da6440738775 (patch) | |
tree | 0a7f3cad12fe378e14e0b60deee9ab6a5bcd3e7d /usr.sbin/mrouted | |
parent | 7460ea7c8796fa4a440ed3fc75c19fe120c96c5d (diff) |
W^X violations are no longer permitted by default. A kernel log message
is generated, and mprotect/mmap return ENOTSUP. If the sysctl(8) flag
kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump
creation.
W^X violating programs can be permitted on a ffs/nfs filesystem-basis,
using the "wxallowed" mount option. One day far in the future
upstream software developers will understand that W^X violations are a
tremendously risky practice and that style of programming will be
banished outright. Until then, we recommend most users need to use the
wxallowed option on their /usr/local filesystem. At least your other
filesystems don't permit such programs.
ok jca kettenis mlarkin natano
Diffstat (limited to 'usr.sbin/mrouted')
0 files changed, 0 insertions, 0 deletions