patch to randomize mmap offsets

Simon 'corecode' Schubert corecode at
Tue Jan 16 18:26:52 PST 2007

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

this I386_MAX_EXE_ADDR is only used for openbsd's W^X i386 implementation, I think.  The code is not really complicated, so I think we should add it.  However, I think that it should be optional to switch on via a sysctl.  Putting everything in kernel options makes everything so... bulky.  Of course this sysctl would need to be guarded by securelevel.

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   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00007.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <>

More information about the Submit mailing list