Prebinding for DragonFly/FreeBSD-4

Matthew Dillon dillon at apollo.backplane.com
Sat Sep 13 13:30:02 PDT 2003


:Actually I don't think this is much of a problem because each ELF object
:is also identified by its path component.

   Ah, ok,  I missed the path component.

   Could you explain what portion of the ELF data is being hashed in 
   more detail?  DT_REL[A] would be the symbol table (effectively),
   right?  Is that inclusive of both data and instruction (function labels)?

						-Matt

:Let's take libc.so. As RTLD is hashing on DT_REL[A], we get about 13KB
:data. This is about 3.3e3 blocks (each 32 bit).
:With a collision bound at n*2e-28 we get a collision propability at
:3.3e3*2e-28 = 6.6e-25 which is 1:1500000000000000000000000.
:
:cheers
:  simon
: 
:-- 





More information about the Kernel mailing list