projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624f54b
)
[PATCH] Fix vma argument in get_usr_pages() for gate areas
author
Nick Piggin
<nickpiggin@yahoo.com.au>
Tue, 29 Nov 2005 07:43:17 +0000
(18:43 +1100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 29 Nov 2005 15:53:32 +0000
(07:53 -0800)
The system call gate area handling called vm_normal_page() with the
wrong vma (which was always NULL, and caused an oops).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index 9ab206b829a2f4a55a3be143ba5e4440dc30cb1e..6c1eac92a316325c087b2da3e9ee9502495bddc7 100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-988,7
+988,7
@@
int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
return i ? : -EFAULT;
}
if (pages) {
- struct page *page = vm_normal_page(vma, start, *pte);
+ struct page *page = vm_normal_page(
gate_
vma, start, *pte);
pages[i] = page;
if (page)
get_page(page);