Subject: Re: 'prebind' implementation (was Re: HEADS UP: migration to fully dynamic linked "base" system)
To: Jason R Thorpe <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 08/27/2002 23:08:57
> > yes, but is foo to expect that libc will be at 0x48056000 every time
> > foo is executed?
> > i have actually managed to get mine to load at 0xbdb48000 tonight. :)
>Oh, just because you're hacking on UVM :-)
>For prebinding to work, yes, you expect it to be loaded at the same place
>each time, and encode them as doing so. And prebinding would use a fixed
>mapping at the specified location in order to make that work.
how about if, instead of using fixed, it specified a hint and "bailed"
if the returned address wasn't what it wanted? even the mmap(2) man
page says that the use of MAP_FIXED is discouraged...
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."