[PATCH 1/2] mmap: decode MAP_UNINITIALIZE

Dmitry V. Levin ldv at altlinux.org
Tue Jan 22 18:56:24 UTC 2013


On Tue, Jan 22, 2013 at 01:10:13PM -0500, Mike Frysinger wrote:
> On Tuesday 22 January 2013 04:16:42 Bernhard Reutner-Fischer wrote:
> > On 21 January 2013 15:23, Dmitry V. Levin <ldv at altlinux.org> wrote:
> > > On Mon, Jan 21, 2013 at 02:36:55PM +0100, Bernhard Reutner-Fischer wrote:
> > >> --- a/mem.c
> > >> +++ b/mem.c
> > >>
> > >> +#ifdef MAP_UNINITIALIZE
> > >> +     { MAP_UNINITIALIZE,"MAP_UNINITIALIZE"},
> > >> +#endif
> > > 
> > > You mean MAP_UNINITIALIZED?
> > 
> > ugh, it seems that the name changed mid-flight :(
> > So yes, i mean MAP_UNINITIALIZED, i will change uClibc to add the 'D'.
> > Do you want me to resend this hunk with the D added or can you take
> > care of this?
> 
> we named it MAP_UNINITIALIZE when we first implemented it on the Blackfin side, 
> but it was tweaked while getting merged to mainline linux.  we forgot to 
> update the uClibc side and no one noticed because userland provides its own 
> defines rather than including kernel headers :).

Shouldn't MAP_UNINITIALIZED be also added to glibc then?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130122/7fa12102/attachment.bin>


More information about the Strace-devel mailing list