[RFC] per-containers tcp buffer limitation

David Miller davem at davemloft.net
Sat Aug 27 23:09:05 PDT 2011


From: Matthew Helsley <matt.helsley at gmail.com>
Date: Sat, 27 Aug 2011 16:39:11 -0700

> LD_PRELOAD is widely regarded as a debugging and tracing method -- it's not
> usually suitable for implementing features. Why? Because there's nothing
> stopping an application from resetting LD_PRELOAD and re-exec'ing to escape
> the measurements and limitations such a preload implements. Plus naive use
> of LD_PRELOAD could easily interfere with other things that use it. For
> example what if you want to use DMTCP with this?

LD_PRELOAD is also terrible as a "normal" facility because it breaks
prelinking.


More information about the Containers mailing list