User: Password:
Subscribe / Log in / New account

Prelink and address space randomization

Prelink and address space randomization

Posted Aug 7, 2006 9:04 UTC (Mon) by nix (subscriber, #2304)
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 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...

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds