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; Thanks, Robin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Hugh Dickins <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- References:
- [Patch 0/3] SGI Altix and ia64 special memory support.
- From: Robin Holt <[email protected]>
- [Patch 2/3] Export get_one_pte_map.
- From: Robin Holt <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Greg KH <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Robin Holt <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Dave Hansen <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Robin Holt <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Hugh Dickins <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Robin Holt <[email protected]>
- Re: [Patch 2/3] Export get_one_pte_map.
- From: Hugh Dickins <[email protected]>
- [Patch 0/3] SGI Altix and ia64 special memory support.
- Prev by Date: Re: 2.6.14-rc4-mm1
- Next by Date: Re: VFS: file-max limit 50044 reached
- Previous by thread: Re: [Patch 2/3] Export get_one_pte_map.
- Next by thread: Re: [Patch 2/3] Export get_one_pte_map.
- Index(es):