Prelink and address space randomization
Posted Aug 7, 2006 9:04 UTC (Mon) by nix
Parent article: Prelink and address space randomization
I may be missing something. If this is turned on, the kernel randomizes the vDSO address as early as possible: i.e., before ld.so is entered. Therefore, there's no way we can tell prelink is in use: and indeed it looks like the vDSO gets randomized no matter whether prelink is used or not.
So what keeps the vDSO from being mapped slap bang in the middle of space allocated to a prelinked library, breaking prelinking for that application? Nothing, as far as I can tell.
I wodner just how much this increases memory usage and how many unnecessary relocations this causes on a completely prelinked system...
to post comments)