Wine and mmap

John Birrell jb at
Fri Aug 27 21:28:07 PDT 2004

On Sat, Aug 28, 2004 at 12:23:31AM -0400, Brian Fundakowski Feldman wrote:
> Cool, sounds like a wrapper to mmap() that takes care of this for every
> BSD by allocating 1MB of memory (for i386/amd64 4GB address space compat(?))
> and mincore() all possible address space on it then choosing the right area
> itself....  getpagesize() and mincore() (and doing it in a thread-safe
> manner) can fix this temporarily for all BSDs in the WINE code, I'd think.

How do you tell FreeBSD's dlopen() where to map shared libraries that just
look like normal shared libraries. It isn't Wine code that is failing.

John Birrell

More information about the freebsd-current mailing list