tags 434752 + patch stop On Thu, Jul 26, 2007, Loïc Minier wrote: > Since some months, I get unusable backtraces from gdb; I was pointed at > an OpenSuse bug at: > <https://bugzilla.novell.com/show_bug.cgi?id=258433>
I extracted the patch Novell/OpenSuse applied to its kernel, would be nice to get it in Debian. -- Loïc Minier
Subject: i386: allow debuggers to access the vsyscall page with compat vDSO From: "Jan Beulich" <[EMAIL PROTECTED]> Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> arch/i386/kernel/sysenter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux/arch/i386/kernel/sysenter.c =================================================================== --- linux.orig/arch/i386/kernel/sysenter.c +++ linux/arch/i386/kernel/sysenter.c @@ -336,7 +336,9 @@ struct vm_area_struct *get_gate_vma(stru 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)