question about dlopen and $ORIGIN
Waldemar Brodkorb
wbx@openadk.org
Mon Jan 25 20:53:00 GMT 2016
Hi,
I just wondering if this test case is completey right:
https://sourceware.org/git/?p=glibc.git;a=blob;f=elf/tst-nodelete-opened.c
Isn't it enough to open the file without using $ORIGIN.
I thought $ORIGIN is added by linking with the right commands.
Using dlopen without $ORIGIN works fine and more correct when
analyzing via strace.
What do you think?
best regards
Waldemar
More information about the Libc-help
mailing list