Here's a question for OpenBSD C programmers. I'm trying to track down the source code for mmap that randomizes memory allocation. Anybody?
Did you look at the source tree? I know this is just part, but it is a place to start. http://ftp3.usa.openbsd.org/pub/OpenBSD/src/lib/libc/sys/ Other documents may also help: http://www.openbsd.org/advisories/mmap.txt
http://en.wikipedia.org/wiki/Address_space_layout_randomization and rhash.c might have something to do with it: https://groups.google.com/forum/#!msg/4store-support/XC-Mp9-zKpg/hgDz79DAnO8J air.unimi.it/bitstream/2434/139336/2/acsac09.pdf http://en.wikipedia.org/wiki/PaX Some of the references and external links on the Wikipedia stuff may help.
Join our real-time social learning platform and learn together with your friends!