patch to randomize mmap offsets

Simon 'corecode' Schubert corecode at
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   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \

More information about the Submit mailing list