patch to randomize mmap offsets

Matthew Dillon dillon at apollo.backplane.com
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
:http://www.openbsd.org/papers/auug04/index.html
:
:-Kevink
:
:-- 
:Kevin L. Kane
:kevin.kane at gmail.com

    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.

						-Matt





More information about the Submit mailing list