Date: Wed, 14 Jun 2000 15:19:43 +0200 From: Martin Cracauer <cracauer@cons.org> To: emulation@freebsd.org Cc: "Raymond A. Wiker" <rwiker@c2i.net> Subject: Linux mmap(... MAP_ANON ... fd ...) fix for review Message-ID: <20000614151942.A2649@cons.org>
next in thread | raw e-mail | index | archive | help
Linux mmap allows allows MAP_ANON with a valid file descriptor, ours dows not. I propose the following fix, which makes Xanalys (ex-Harlequin) Lispworks work. [Raymond, could you please verify that?] Since MAP_ANON can savely ignore the fd parameter, I don't see any possible bad effect from this change and unless someone objects, I will commit it. It also improves debug output by showing what has been mapped to what by the emulator. Thanks for feedback Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000614151942.A2649>