patch to randomize mmap offsets

Kevin L. Kane kevin.kane at
Mon Jan 15 12:43:09 PST 2007

    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.
Wouldn't that result in 2x the syscalls for calling mmap()?(isn't this
expensive?)  Or do I not understand what you mean?

Kevin L. Kane
kevin.kane at

More information about the Submit mailing list