mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-17 15:08:54 +00:00
i386: allow debuggers to access the vsyscall page with compat vDSO
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>
This commit is contained in:
parent
cdc1793ef7
commit
2f30c00702
@ -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)
|
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)
|
int in_gate_area_no_task(unsigned long addr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user