svn commit: r293202 - head/libexec/rtld-elf

Ed Maste emaste at FreeBSD.org
Tue Jan 5 15:55:46 UTC 2016


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 (%) */


More information about the svn-src-head mailing list