Add a nasty kludge in the handling of mmap on Darwin.  Does not apply
to any other platforms.  Prevent mmap(ANON) from returning zero (zero
with success, that is) since (a) some programs are observed to be
spooked by getting zero from a successful call to mmap, and (b) it's
pretty stupid from the point of view of program safety and possibly
security, since it causes page zero to become accessible.  So don't.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12466 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed