patch to randomize mmap offsets

Matthew Dillon dillon at
Mon Jan 15 19:06:27 PST 2007

: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.
:  simon

    Randomizing mmap offsets that much will fragment user virtual memory
    and cause the program to run out of space if it uses mmap() heavily.
    I really dislike the concept.


More information about the Submit mailing list