Hugh Dickins 1ddd439ef9 fix mprotect vma_wants_writenotify prot
Fix mprotect bug in recent commit 3ed75eb8f1cd89565966599c4f77d2edb086d5b0
(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
..
2007-10-17 08:42:45 -07:00
2007-10-16 09:42:54 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 02:46:58 +02:00
2007-10-16 09:43:02 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 01:27:18 +02:00
2007-10-20 02:13:26 +02:00
2007-10-23 08:32:06 -07:00
2007-10-18 14:37:31 -07:00
2007-10-20 15:04:06 -07:00
2007-10-20 01:27:18 +02:00
2007-10-16 09:43:02 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:45 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:55 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 01:27:18 +02:00