Date: Sat, 28 Aug 2004 00:41:17 -0400 From: Brian Fundakowski Feldman <green@freebsd.org> To: John Birrell <jb@cimlogic.com.au> Cc: freebsd-current@freebsd.org Subject: Re: Re[2]: Wine and mmap Message-ID: <20040828044117.GF1085@green.homeunix.org> In-Reply-To: <20040828042805.GP7113@freebsd3.cimlogic.com.au> References: <47158390.20040827112834@ulstu.ru> <20040827091556.GM7113@freebsd3.cimlogic.com.au> <1698443921.20040827135316@ulstu.ru> <200408271245.15447.mistry.7@osu.edu> <20040827230502.GS77326@green.homeunix.org> <20040828013612.GN7113@freebsd3.cimlogic.com.au> <20040828040118.GA1085@green.homeunix.org> <20040828040936.GO7113@freebsd3.cimlogic.com.au> <20040828042331.GD1085@green.homeunix.org> <20040828042805.GP7113@freebsd3.cimlogic.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 28, 2004 at 02:28:05PM +1000, John Birrell wrote: > 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. Oh, LD_PRELOAD cannot be used to override rtld itself, can it? My fault, then. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828044117.GF1085>