projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdc1793
)
i386: allow debuggers to access the vsyscall page with compat vDSO
author
Jan Beulich
<jbeulich@novell.com>
Sat, 21 Jul 2007 15:10:21 +0000
(17:10 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:09 +0000
(18:37 -0700)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/sysenter.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/sysenter.c
b/arch/i386/kernel/sysenter.c
index ff4ee6f3326b300a5504370b8720b4263d311f6e..6deb159d08e0cf761fe402ed5ab355bcfc9e3d4b 100644
(file)
--- a/
arch/i386/kernel/sysenter.c
+++ b/
arch/i386/kernel/sysenter.c
@@
-336,7
+336,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)