summaryrefslogtreecommitdiff
path: root/math
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 /math
parentce16eb52c0987fd94bc13d51ddc787134a7e4b0c (diff)
downloadglibc-10e93d968716ab82931d593bada121c17c0a4b93.tar.gz
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 'math')
0 files changed, 0 insertions, 0 deletions