kernel-ark/mm
Hugh Dickins 1ddd439ef9 fix mprotect vma_wants_writenotify prot
Fix mprotect bug in recent commit 3ed75eb8f1
(setup vma->vm_page_prot by vm_get_page_prot()): the vma_wants_writenotify
case was setting the same prot as when not.

Nothing wrong with the use of protection_map[] in mmap_region(),
but use vm_get_page_prot() there too in the same ~VM_SHARED way.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Coly Li <coyli@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-23 08:32:06 -07:00
..
allocpercpu.c Slab allocators: Replace explicit zeroing with __GFP_ZERO 2007-07-17 10:23:02 -07:00
backing-dev.c
bootmem.c
bounce.c
fadvise.c
filemap_xip.c
filemap.c kernel-api docbook: fix content problems 2007-10-19 11:53:35 -07:00
fremap.c
highmem.c
hugetlb.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
internal.h
Kconfig small documentation fixes 2007-10-20 02:46:58 +02:00
madvise.c
Makefile
memory_hotplug.c memory hotplug: rearrange memory hotplug notifier 2007-10-22 08:13:17 -07:00
memory.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
mempolicy.c Uninline find_task_by_xxx set of functions 2007-10-19 11:53:40 -07:00
mempool.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
migrate.c Typo fixes retrun -> return 2007-10-20 02:13:26 +02:00
mincore.c
mlock.c
mmap.c fix mprotect vma_wants_writenotify prot 2007-10-23 08:32:06 -07:00
mmzone.c
mprotect.c fix mprotect vma_wants_writenotify prot 2007-10-23 08:32:06 -07:00
mremap.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
msync.c
nommu.c Explain clearly why kmalloc() can't use __GFP_HIGHMEM. 2007-10-19 23:11:38 +02:00
oom_kill.c oom_kill bug 2007-10-20 15:04:06 -07:00
page_alloc.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
page_io.c
page_isolation.c
page-writeback.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
pdflush.c
prio_tree.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
quicklist.c Quicklists for page table pages 2007-05-07 12:12:54 -07:00
readahead.c
rmap.c
shmem_acl.c
shmem.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
slab.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
slob.c
slub.c memory hotplug: make kmem_cache_node for SLUB on memory online avoid panic 2007-10-22 08:13:17 -07:00
sparse-vmemmap.c
sparse.c
swap_state.c
swap.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
vmscan.c spelling fixes: mm/ 2007-10-20 01:27:18 +02:00
vmstat.c