This is the mail archive of the libc-alpha@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]

Re: [PATCH][v2] Add dynamic linker support for $EXEC_ORIGIN.



On Tue, Oct 24, 2017, at 01:13, Andreas Schwab wrote:
> On Okt 24 2017, Brooks Moses <bmoses@google.com> wrote:
> 
> > (Quick summary: $EXEC_ORIGIN in rpaths is like $ORIGIN, but it expands
> > to the executable's path as passed to execve(), rather than resolving
> > symlinks in the executable's path as $ORIGIN does.)
> 
> I think the name is confusing, since both $EXEC_ORIGIN and $ORIGIN
> expand to the origin of the executable.

I suppose the $EXEC_ORIGIN token takes its name from the elf auxiliary
vector, AT_EXECFN, it's derived from.

Would $SYMBOLIC_ORIGIN be bettter?


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