Portable glibc binary package

Carlos O'Donell carlos@redhat.com
Wed Mar 18 15:40:00 GMT 2015


On 03/18/2015 12:24 AM, Shaun Jackman wrote:
> My original question remains: is it possible to compile a portable
> glibc binary package that can be installed in a user's home directory?

A runtime that can be rooted in a directory other than /?

It is possible, you do so by compiling glibc with an alternate prefix.

At present the prefix is not runtime configurable, but I would not
object to patches that make it so given a configure flag. This would
then allow you to install a completely isolated runtime in an
untrusted location.

However, why not just use chroot or pivot_root?

Cheers,
Carlos.



More information about the Libc-help mailing list