From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH] libxc portability fixes Date: Wed, 19 Sep 2007 17:41:17 +0200 Message-ID: <20070919154117.GA9213@snarc.org> References: <200709191519.37628.Christoph.Egger@amd.com> <200709191632.59288.Christoph.Egger@amd.com> <20070919144949.GA7154@snarc.org> <200709191704.35189.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200709191704.35189.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: Vincent Hanquez , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Sep 19, 2007 at 05:04:35PM +0200, Christoph Egger wrote: > > solaris has deprecated MAP_ANON as well. > > Oh, SystemV Unix has MAP_ANONYMOUS? > BSD-Unix only has MAP_ANON. I've no idea, but I imagine this was deprecated for a reason on 2 very different systems. and looks like HP-UX only has MAP_ANONYMOUS. some random google searching: http://www.winehq.org/pipermail/wine-devel/2004-December/031636.html classic unix mess i'ld say :( > My linux mmap manpage says: > --------------------------- > MAP_ANONYMOUS > The mapping is not backed by any file; the fd and offset argu- > ments are ignored. The use of this flag in conjunction with > MAP_SHARED is only supported on Linux since kernel 2.4. > > MAP_ANON > Alias for MAP_ANONYMOUS. Deprecated. > --------------------------- Yes, not good indeed. The text i've pasted come from my linux debian manpage. you could file a bug to your distro to upgrade the manpages ;) Cheers, -- Vincent Hanquez