[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH 2/3] always link against local libraries
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] [PATCH 2/3] always link against local libraries |
Date: |
Mon, 21 Nov 2011 03:03:40 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Mike Frysinger <address@hidden>:
> Linking against the local libraries should not depend on chrpath. We
> always want to search $PWD for static and shared so we can find things
> via -lgpsd.
Unfortunately, this is exactly wrong for binsries that might be installed
in system space. As with RPATH, it creates an attack path for a
maliciously crafted library.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
[gpsd-dev] [PATCH 3/3] make chrpath optional, Mike Frysinger, 2011/11/20