Subject: Re: RelCache (aka ELF prebinding) news
To: Bang Jun-Young <junyoung@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 12/04/2002 01:53:51
> - base address (determined by ld.elf_so for each process)
base address of what? this late at night, i'm thinking you mean the
shared library, but i see this:
% cd /proc
% pmap [1-9]* | grep 'exec.*libc.so' | sort -u
4805C000 572K read/exec /lib/libc.so.12.89
4805D000 572K read/exec /lib/libc.so.12.89
48060000 572K read/exec /lib/libc.so.12.89
48065000 572K read/exec /lib/libc.so.12.89
48067000 572K read/exec /lib/libc.so.12.89
4806C000 572K read/exec /lib/libc.so.12.89
48072000 572K read/exec /lib/libc.so.12.89
48079000 572K read/exec /lib/libc.so.12.89
4808C000 572K read/exec /lib/libc.so.12.89
480AA000 572K read/exec /lib/libc.so.12.89
480FC000 572K read/exec /lib/libc.so.12.89
4811C000 572K read/exec /lib/libc.so.12.89
48127000 572K read/exec /lib/libc.so.12.89
48152000 572K read/exec /lib/libc.so.12.89
48155000 572K read/exec /lib/libc.so.12.89
48158000 572K read/exec /lib/libc.so.12.89
48169000 572K read/exec /lib/libc.so.12.89
48180000 572K read/exec /lib/libc.so.12.89
48192000 572K read/exec /lib/libc.so.12.89
4819D000 572K read/exec /lib/libc.so.12.89
4819E000 572K read/exec /lib/libc.so.12.89
481A1000 572K read/exec /lib/libc.so.12.89
481B8000 572K read/exec /lib/libc.so.12.89
481C8000 572K read/exec /lib/libc.so.12.89
481D6000 572K read/exec /lib/libc.so.12.89
48205000 572K read/exec /lib/libc.so.12.89
4823E000 572K read/exec /lib/libc.so.12.89
mmm...lots of different base addresses. hmm?
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."