LD_PRELOAD work in progress

Adam Conrad adconrad at ubuntu.com
Wed Feb 25 11:23:53 UTC 2015


On Tue, Feb 24, 2015 at 03:50:16PM -0800, Steve Langasek wrote:
> 
> Cc:ing Adam Conrad.  Adam, do you know if the kind of LD_PRELOAD described
> here will work on glibc nowadays, or if there are gaps?

As Martin said, this works fine for things like fakechroot, but for a
value of "fine" that I'm not sure I'd want to see in production code.

I feel like I'm missing (a lot) of context here, but what problem are
we trying to solve with LD_PRELOAD and dynamically faking paths that
we couldn't be solving in a less insane fashion?

... Adam



More information about the snappy-devel mailing list