aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@cloudef.pw>2024-03-20 18:09:36 +0900
committerAndrew Kelley <andrew@ziglang.org>2024-08-24 05:32:53 -0700
commit2d7c26cc66facc401b37c26cb17bbae1da00d170 (patch)
treee46ecd9beaf22c0e80c24c1891377ef6822469ed /test
parent9374725088fa077b61d819ed36341b20f8f3bcf7 (diff)
downloadzig-2d7c26cc66facc401b37c26cb17bbae1da00d170.tar.gz
zig-2d7c26cc66facc401b37c26cb17bbae1da00d170.zip
ElfDynLib: resolve lib from system paths
Implements the base that should usually work that is - Check LD_LIBRARY_PATH if the binary is no setuid setgid binary - Check /lib, /usr/lib, in that order The missing parts are: - DT_RPATH and DT_RUNPATH handling from the calling executable - Reading /etc/ld.so.cache For more details check man page of dlopen(3)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions