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

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

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