From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christoph Egger" Subject: Re: [PATCH] libxc portability fixes Date: Wed, 19 Sep 2007 16:32:59 +0200 Message-ID: <200709191632.59288.Christoph.Egger@amd.com> References: <200709191519.37628.Christoph.Egger@amd.com> <20070919142515.GA6106@snarc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070919142515.GA6106@snarc.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent Hanquez Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 =2D1 when MAP_ANON is specified to match the Unix behaviour. Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy