about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-08-22 00:43:21 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-09-19 21:28:13 +0000
commitf3fd569c365ca5149fedbbc6c7a902aa1f8e5b60 (patch)
tree89dbb8ca66ab59f6e35855283a0fda11203f96ce /ChangeLog
parentae30640a32b8f4057ab32ec7a3f48f77c344b79e (diff)
downloadglibc-f3fd569c365ca5149fedbbc6c7a902aa1f8e5b60.tar.gz
glibc-f3fd569c365ca5149fedbbc6c7a902aa1f8e5b60.tar.xz
glibc-f3fd569c365ca5149fedbbc6c7a902aa1f8e5b60.zip
rtld: limit self loading check to normal mode only
Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault
that used to happen when rtld was loading itself in normal mode.
Unfortunately, that commit disallowed all modes of self loading,
including those that used to work before.  This change limits the check
for self loading to normal mode only, so that instruments like ldd could
handle rtld properly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ffdcfc1eb2..a77ef92d76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	[BZ #14579]
+	* elf/rtld.c (dl_main): Limit the check for self loading to normal
+	mode only.
+	* elf/tst-rtld-load-self.sh: New test.
+	* elf/Makefile: Run it.
+
 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/wordsize-64/Makefile [$(subdir) = misc]