patch to randomize mmap offsets
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Mon Jan 15 16:17:23 PST 2007
Matthew Dillon wrote:
You could just request more space then you need and randomly offset
the allocations you do from within that space. That has the same
result pretty much.
well, that's quite different. randomizing mmap offsets gives a real random distribution over the whole userland address space. allocating more and then offsetting within this allocation still gives a deterministic order of allocated memory locations, just the padding between those varies.
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
More information about the Submit