about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2017-12-18 21:46:07 +0000
committerDmitry V. Levin <ldv@altlinux.org>2017-12-19 21:53:11 +0000
commit10e93d968716ab82931d593bada121c17c0a4b93 (patch)
tree9294d2de807ee0e90c40389fcff7b916c270c372 /ChangeLog
parentce16eb52c0987fd94bc13d51ddc787134a7e4b0c (diff)
downloadglibc-10e93d968716ab82931d593bada121c17c0a4b93.tar.gz
glibc-10e93d968716ab82931d593bada121c17c0a4b93.tar.xz
glibc-10e93d968716ab82931d593bada121c17c0a4b93.zip
elf: remove redundant __libc_enable_secure check from fillin_rpath
There are just two users of fillin_rpath: one is decompose_rpath that
sets check_trusted argument to 0, another one is _dl_init_paths that
sets check_trusted argument to __libc_enable_secure and invokes
fillin_rpath only when LD_LIBRARY_PATH is non-empty.

Starting with commit
glibc-2.25.90-512-gf6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d,
LD_LIBRARY_PATH is ignored for __libc_enable_secure executables,
so check_trusted argument of fillin_rpath is always zero.

* elf/dl-load.c (is_trusted_path): Remove.
(fillin_rpath): Remove check_trusted argument and its use,
all callers changed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 41ca4d27c1..e40a9779b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* elf/dl-load.c (is_trusted_path): Remove.
+	(fillin_rpath): Remove check_trusted argument and its use,
+	all callers changed.
+
 2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #22630]