[PATCH] Ignore origin of privileged program

Andreas Schwab schwab@redhat.com
Fri Dec 10 08:46:00 GMT 2010


Ulrich Drepper <drepper@gmail.com> writes:

> On Thu, Dec 9, 2010 at 09:47, Andreas Schwab <schwab@redhat.com> wrote:
>> 2010-12-09  Andreas Schwab  <schwab@redhat.com>
>>
>>        * elf/dl-object.c (_dl_new_object): Ignore origin of privileged
>>        program.
>
> The check should also have a whitelist for programs in
> {,/usr}/lib{,64}, similar to the DSO tests.

I don't think this is useful.  Libraries are not installed alongside
programs and privileged programs can only use $ORIGIN exactly.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Libc-hacker mailing list