|
From: Julian S. <js...@ac...> - 2005-11-23 02:23:56
|
On Monday 21 November 2005 13:59, Tom Hughes wrote:
> In message <200...@ac...>
>
> Julian Seward <js...@ac...> wrote:
> >> test_mmap - this fails because it tries to mremap a file mapping
> >> and Julian's do_mremap is only allowing Anon segments
> >> to be remapped for some reason - Julian?
> >
> > Um .. idiocy on my part probably. I'll have a look at it, but not
> > until tomorrow.
>
> Even more bizarre is that it is allowing AnonV segments to be
> remapped and the client shouldn't be touching those...
How did you infer that? I can't see it. VG_(am_relocate_nooverlap_client)
has this:
if (nsegments[iLo].kind != SkFileC && nsegments[iLo].kind != SkAnonC)
return False;
Do you know what is supposed to happen with the file offset at remap?
eg, if old_addr corresponds to offset X then what offset is new_addr at
afterwards? Is is X or (X + new_addr-old_addr) ?
J
|