Author: emaste
Date: Tue Jan  5 15:55:45 2016
New Revision: 293202
URL: https://svnweb.freebsd.org/changeset/base/293202

Log:
  rtld: populate DT_DEBUG iff DYNAMIC segment is writable
  
  rtld.h was accidentally missed in r293201

Modified:
  head/libexec/rtld-elf/rtld.h

Modified: head/libexec/rtld-elf/rtld.h
==============================================================================
--- head/libexec/rtld-elf/rtld.h        Tue Jan  5 15:52:16 2016        
(r293201)
+++ head/libexec/rtld-elf/rtld.h        Tue Jan  5 15:55:45 2016        
(r293202)
@@ -264,6 +264,7 @@ typedef struct Struct_Obj_Entry {
     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 dlopened : 1;         /* dlopen()-ed (vs. load statically) */
+    bool writable_dynamic : 1; /* PT_DYNAMIC is writable */
 
     struct link_map linkmap;   /* For GDB and dlinfo() */
     Objlist dldags;            /* Object belongs to these dlopened DAGs (%) */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to