Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: FreeBSD and wine mmap

0 views
Skip to first unread message

j...@cimlogic.com.au

unread,
Aug 5, 2004, 1:07:47 AM8/5/04
to
On Wed, Aug 04, 2004 at 03:46:42PM -0700, Julian Elischer wrote:
> /proc/curproc/map
> can give you a quick temporary solution..
> julian@ref3:cat /proc/curproc/map

I can't see how that gives a quick temporary solution. The mmaps we are
talking about are the ones done by rtld. Wine libraries are standard
Unix shared libraries that are dlopen'ed. The fact that the load fails
is due to the upper process memory being deliberately consumed before
the libraries are loaded. Screwing up rtld seems like a poor idea to
me.

The Wine people say that Linux now loads shared libraries at random
addresses to make buffer overruns less predictable. That's why they
gobble upper memory as soon as they can (albeit after libc has been
loaded because that's linked to the Wine program). Presumably FreeBSD
may one day consider doing the same thing for the same reason.

--
John Birrell
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

0 new messages