DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Prebinding for DragonFly/FreeBSD-4


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Sep 2003 13:26:28 -0700 (PDT)

: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
: 
:-- 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]