CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2016/06/21 09:25:38
Modified files: libexec/ld.so/alpha: rtld_machine.c libexec/ld.so/amd64: rtld_machine.c libexec/ld.so/arm: rtld_machine.c libexec/ld.so/m88k: rtld_machine.c libexec/ld.so/powerpc: rtld_machine.c libexec/ld.so/sh: rtld_machine.c libexec/ld.so/sparc: rtld_machine.c libexec/ld.so/sparc64: rtld_machine.c Log message: When handling DT_TEXTREL only set the mapping to READ+WRITE, ignore possible EXEC permission for the section, because the proper permission is set late, and there are no thread concerns here. Avoids W^X issues in oddball cases. ok guenther kettenis