This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

question about dlopen and $ORIGIN


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]