[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Wednesday 19 September 2007 16:25:15 Vincent Hanquez wrote:
> On Wed, Sep 19, 2007 at 03:19:37PM +0200, Christoph Egger wrote:
> > Attached patch mainly contains portability fixes:
> > - use MAP_ANON, that is what both (BSD-)Unix and Linux have
>
> looks like that might bite us back at some point:
>
> man mmap:
> MAP_ANON
>             Synonym for MAP_ANONYMOUS.  Deprecated.

MAP_ANONYMOUS is the proprietary thing. The glibc people
should know that and should deprecate MAP_ANONYMOUS instead.
They should also document that the fd argument must be
-1 when MAP_ANON is specified to match the Unix behaviour.


Christoph

-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.