CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2015/11/02 00:02:54
Modified files: libexec/ld.so : resolve.c resolve.h libexec/ld.so/alpha: rtld_machine.c libexec/ld.so/amd64: rtld_machine.c libexec/ld.so/arm: rtld_machine.c libexec/ld.so/hppa: rtld_machine.c libexec/ld.so/i386: rtld_machine.c libexec/ld.so/m88k: rtld_machine.c libexec/ld.so/mips64: 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: Factor out the logic for mprotecting the memory between two symbols into a new MI routine _dl_protect_segment(), and use that for protecting the GOT and--on some archs--the PLT. Amazing testing turnaround by miod@, who apparently violated relativity to get back results on some archs as fast as he did