Re: [PATCH] ld.so on FC7 is mmap'ing shared libraries right in over guest memory.

From: ron minnich
Date: Fri Aug 10 2007 - 12:35:43 EST


On 8/9/07, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Thu, 2007-08-09 at 21:07 +1000, Rusty Russell wrote:
> > From: Ronald G. Minnich <rminnich@xxxxxxxxx>
> >
> > [ FC7 maps shared libraries very low, where the launcher maps guest's
> > physical memory. Quick fix is to link Launcher static, real fix is for
> > 2.6.24. ]
> >
> > -static is a simple fix. I expect this problem will be more common than we
> > like, as different distro's make different "improvements" to ld.so
>
>
> this description is incorrect; it's not an ld.so change that causes the
> low mapping.
>
> It's a command line option to the prelink program (which is in most
> distributions) that makes it use the entire address space, not just the
> higher bits....

oops. That'll teach me.

Thanks for the correction :-)

ron
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/