DragonFlyBSD/src 1f732d3libexec/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
DeltaFile
+10-2libexec/rtld-elf/x86_64/reloc.c
+1-0libexec/rtld-elf/rtld.c
+11-22 files

UnifiedSplitRaw