patch to randomize mmap offsets

Matthew Dillon dillon at
Mon Jan 15 12:04:18 PST 2007

:I pulled this little patch from OpenBSD to randomize mmap offsets as
:per request on projects page, described by
:Kevin L. Kane
:kevin.kane at

    hmm.  I'm not a big fan of OpenBSD's randomization code.  I'm not
    rabidly against the patch but it is a bit hackish.  It seems to me
    that somthing similar could be implemented simply by having the RTLD
    or LIBC code mmap() a randomly sized dead segment, and not have to
    build anything into the kernel.


More information about the Submit mailing list