[Buildroot] [RFC PATCH v3 00/10] Make the SDK relocatable
Peter Korsgaard
peter at korsgaard.com
Wed Jun 28 06:40:58 UTC 2017
>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
Hi,
>>> So if you change sudo's RPATH to $ORIGIN/../libexec/sudo it doesn't find
>>> libsudo_util.so.0 at runtime? Or how does it break?
>>
>> Yep, that's the problem. I think it's because of "For security, the
>> dynamic linker does not allow use of $ORIGIN substitution sequences for
>> set-user and set-group ID programs..." from
>>
>> http://seclists.org/fulldisclosure/2010/Oct/257
Makes sense, you don't want your setuid binaries to load random
libraries.
> Ah I see. So in target we should always use absolute paths. Makes sense.
Indeed.
> Next week in the Buildroot Summer Camp I'm going to spend time on this series,
> so there should be progress...
Indeed. I was also planning on spending some time on it.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list