diff options
author | 2017-12-18 21:46:07 +0000 | |
---|---|---|
committer | 2017-12-19 21:53:11 +0000 | |
commit | 10e93d968716ab82931d593bada121c17c0a4b93 (patch) | |
tree | 9294d2de807ee0e90c40389fcff7b916c270c372 /sysdeps/unix/sysv/linux/m68k/kernel-features.h | |
parent | Replece LDFLAGS-* = $(no-pie-ldflag) with tst-*-no-pie = yes [BZ #22630] (diff) | |
download | 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 'sysdeps/unix/sysv/linux/m68k/kernel-features.h')
0 files changed, 0 insertions, 0 deletions