On Mon, Apr 30, 2012 at 03:00:30AM -0600, David Coppa wrote: > > Hi, > > The diff below works in my tests. > It allows OpenBSD to use the PROT_GROWSUP and PROT_GROWSDOWN flags > for mprotect under Linux emulation. > Cherrypicked from http://marc.info/?l=openbsd-misc&m=118277676431920 > with minor modifications. > > Please comment/help, as I'd like to have it in so I can update > print/acroread to the latest version...
I've looked at this as well after your initial post. I also looked at the FreeBSD tree. They're handling this in mmap. Have you looked there? Any reason why we choose one against the other? Why did they go with mmap? I trust FreeBSD code more than NetBSD hence my questions. And I also did not have time to go deeper down the rabbit hole with the investigations but I'm quite happy that you picked this up for me :-)
