On Wed, Mar 23, 2016 at 06:08:59AM -0400, Tom Horsley wrote:
Not to mention that with library randomization, it was utterly
and completely useless. It prelinked libs to load at a particular
address, then the kernel loaded them at another random address,
thus requiring relocation anyway. The first thing I ever did in
You clearly haven't even looked what it was doing.
Prelink during prelinking chose some addresses (with randomization,
so different boxes used different addresses), and then the libraries
would be always (if possible) loaded at the suggested addresses,
until next reprelinking, which then chose another set of random addresses.
Kernel only randomizes mmap that has NULL virtual address.
Jakub