This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA


On Thu, May 30, 2013 at 09:35:16AM +0200, Andreas Schwab wrote:
> Roland McGrath <roland@hack.frob.com> writes:
> 
> > This being the case, it would be helpful if the committee amended the
> > main MAP_FIXED paragraph to be more explicit about the constraints.
> 
> The rationale already makes it clear that portable applications should
> not use MAP_FIXED.

I think it would be nice to clarify and make explicit conditions under
which MAP_FIXED should work for mapping over an existing map. This is
the only reasonable use of MAP_FIXED anyway, much like the only
reasonable use of dup2 is replacing an existing file descriptor.

Rich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]