diff options
| author | Hugh Dickins <[email protected]> | 2007-10-22 20:45:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-23 08:32:06 -0700 |
| commit | 1ddd439ef987c9f0209e6ce824b67518f2afe67b (patch) | |
| tree | 1f6e0ef40c2b9cf5819d9193d7d06c6a0a33ff6c /scripts/patch-kernel | |
| parent | 4ae3f847e49e3787eca91bced31f8fd328d50496 (diff) | |
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 <[email protected]>
Cc: Coly Li <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions