WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] libxc portability fixes

To: Vincent Hanquez <vincent@xxxxxxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] libxc portability fixes
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 19 Sep 2007 17:44:57 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Sep 2007 09:45:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070919154117.GA9213@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf63GlQp8HdwmbPEdy+mwAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] libxc portability fixes
User-agent: Microsoft-Entourage/11.3.6.070618
I checked in the patch anyhow. If it causes problems then we can introduce
some ifdef'ery.

 - Keir

On 19/9/07 16:41, "Vincent Hanquez" <vincent@xxxxxxxxxxxxx> wrote:

> 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,



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel