Subject: Re: 'prebind' implementation (was Re: HEADS UP: migration to fully dynamic linked "base" system)
To: Jason R Thorpe <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
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" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."