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.


* Andreas Schwab:

> On Okt 25 2017, Florian Weimer <fw@deneb.enyo.de> wrote:
>
>> Neither $ORIGIN nor $EXEC_ORIGIN work reliably for Java because the
>> the JIT compiler needs a special SELinux policy, and AT_SECURE
>> disables both linker expansions.
>
> $ORIGIN does work in suid programs.

If I read the code correctly, with upstream glibc, $ORIGIN can only be
used to reorder directories already on the system search path, so its
usefulness is really limited.


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