projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28be53
)
[PATCH] i386: allow debuggers to access the vsyscall page with compat vDSO
author
Jan Beulich
<jbeulich@novell.com>
Wed, 15 Aug 2007 10:38:54 +0000
(12:38 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 17 Oct 2007 19:30:23 +0000
(21:30 +0200)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/kernel/sysenter.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/sysenter.c
b/arch/i386/kernel/sysenter.c
index 666f70d926191025ec3cb05437ef0f95200f77b6..05773128440dc42209b62630565b69438cd18cf1 100644
(file)
--- a/
arch/i386/kernel/sysenter.c
+++ b/
arch/i386/kernel/sysenter.c
@@
-183,7
+183,9
@@
struct vm_area_struct *get_gate_vma(struct task_struct *tsk)
int in_gate_area(struct task_struct *task, unsigned long addr)
{
- return 0;
+ const struct vm_area_struct *vma = get_gate_vma(task);
+
+ return vma && addr >= vma->vm_start && addr < vma->vm_end;
}
int in_gate_area_no_task(unsigned long addr)