This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
question about dlopen and $ORIGIN
- From: Waldemar Brodkorb <wbx at openadk dot org>
- To: libc-help at sourceware dot org
- Date: Mon, 25 Jan 2016 21:53:47 +0100
- Subject: question about dlopen and $ORIGIN
- Authentication-results: sourceware.org; auth=none
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