DragonFlyBSD/src 1f732d3 — libexec/rtld-elf rtld.c, libexec/rtld-elf/x86_64 reloc.c
rtld-elf - Allow dynamic (late) relocations to relro section * Normally the relro section is mprotect()ed to read-only after normal load relocations. * It appears that some programs can issue dynamic relocations at run-time to such sections. * If the relro mprotect has been done on an object, temporarily mprotect the object back to RW to execute the relocation, then mprotect it back to RO. Reported-by: marino
Delta | File | |
---|---|---|
+10 | -2 | libexec/rtld-elf/x86_64/reloc.c |
+1 | -0 | libexec/rtld-elf/rtld.c |
+11 | -2 | 2 files |