Re: [Patch 2/3] Export get_one_pte_map.

From: Hugh Dickins <hugh_at_veritas.com>
Date: 2005-10-18 06:59:12
On Mon, 17 Oct 2005, Robin Holt wrote:
> On Mon, Oct 17, 2005 at 04:59:20PM +0100, Hugh Dickins wrote:
> > Repeating a technical question (sorry, that now seems off-topic!):
> > what do you expect to happen with PROT_WRITE, MAP_PRIVATE?
> 
> That would end up with a MAP_PRIVATE, PROT_WRITE, VM_RESERVED
> mapping.  That does not make sense for this device, so I added
> the following check to mspec_mmap()
> 
>         if ((vma->vm_flags & VM_SHARED) == 0)
>                 return -EINVAL;

Great, that saves us (or at least postpones) some nastiness!

Thanks,
Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Oct 18 07:00:50 2005

This archive was generated by hypermail 2.1.8 : 2005-10-18 07:00:57 EST