|
Memory part 3: Virtual MemoryMemory part 3: Virtual MemoryPosted Oct 9, 2007 17:40 UTC (Tue) by bluefoxicy (guest, #25366)Parent article: Memory part 3: Virtual Memory
> If performance is really much more important than security, randomization
Normally (i.e. under PaX and I think Exec Shield, but not OpenBSD), the base of the Stack and mmap() (i.e. DSO load area) regions gets randomized. Beyond this, the kernel continues to select virtual addresses as normal; pretty much between identical runs, a DSO wll load at ${MMAP_BASE} - ${OFFSET}, where ${OFFSET} remains constant between runs for the given DSO and ${MMAP_BASE} changes each time.
The heap and (for PIEs) executable base can also change in this manner.
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.