From: Matthew Dillon Date: Tue, 12 Feb 2019 20:28:11 +0000 (-0800) Subject: rtld-elf - Allow dynamic (late) relocations to relro section (2) X-Git-Tag: v5.7.0~576 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/b7cb635bf4193f3865adc9d0fa6a3953b43d68b5 rtld-elf - Allow dynamic (late) relocations to relro section (2) * Add missing header file adjustment --- diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index f347c77fa4..0e94c64e7b 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -253,6 +253,7 @@ typedef struct Struct_Obj_Entry { bool note_present : 1; /* True if at least one PT_NOTE header found */ bool valid_hash_sysv : 1; /* A valid System V hash hash tag is available */ bool valid_hash_gnu : 1; /* A valid GNU hash tag is available */ + bool relro_protected : 1; /* relro section has been protected */ struct link_map linkmap; /* For GDB and dlinfo() */ Objlist dldags; /* Object belongs to these dlopened DAGs (%) */