CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/09/11 18:35:54
Modified files:
sys/kern : exec_elf.c
Log message:
When trying to run an ELF binary marked PT_OPENBSD_WXNEEDED from a
file system mounted without MNT_WXALLOWED, fail with EACCES rather
than with ENOEXEC, to discourage the shell from trying to run the
file as a shell script.
OK deraadt@ millert@; tedu@ and halex@ agreed with the general direction.
