|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] libxc portability fixes
On Wed, Sep 19, 2007 at 04:32:59PM +0200, Christoph Egger wrote:
> MAP_ANONYMOUS is the proprietary thing.
which "proprietary thing" ?
> The glibc people
> should know that and should deprecate MAP_ANONYMOUS instead.
solaris has deprecated MAP_ANON as well.
> They should also document that the fd argument must be
> -1 when MAP_ANON is specified to match the Unix behaviour.
----------
MAP_ANONYMOUS
The mapping is not backed by any file; its contents are initial‐
ized to zero. The fd and offset arguments are ignored; however,
some implementations require fd to be -1 if MAP_ANONYMOUS (or
MAP_ANON) is specified, and portable applications should ensure
this. The use of MAP_ANONYMOUS in conjunction with MAP_SHARED
is only supported on Linux since kernel 2.4.
----------
what are you missing from this ?
Cheers,
--
Vincent Hanquez
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|