From 562a87a961d67cada5fba4de42a02b8c0d3cbc47 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 26 Jan 2007 00:56:52 -0800 Subject: [PATCH] --- yaml --- r: 45829 b: refs/heads/master c: c633090e3105e779c97d4978e5e3d7d66b291cfb h: refs/heads/master i: 45827: 3f3198e198405166c18d590be735b9957a0b5394 v: v3 --- [refs] | 2 +- trunk/arch/x86_64/ia32/syscall32.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c21d9a0d9a2b..eb270188d82b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3a0cfadb42e0a6dd221aa49232a65d2771063285 +refs/heads/master: c633090e3105e779c97d4978e5e3d7d66b291cfb diff --git a/trunk/arch/x86_64/ia32/syscall32.c b/trunk/arch/x86_64/ia32/syscall32.c index 3ac935535e20..59f1fa155915 100644 --- a/trunk/arch/x86_64/ia32/syscall32.c +++ b/trunk/arch/x86_64/ia32/syscall32.c @@ -82,6 +82,14 @@ int syscall32_setup_pages(struct linux_binprm *bprm, int exstack) return 0; } +const char *arch_vma_name(struct vm_area_struct *vma) +{ + if (vma->vm_start == VSYSCALL32_BASE && + vma->vm_mm && vma->vm_mm->task_size == IA32_PAGE_OFFSET) + return "[vdso]"; + return NULL; +} + static int __init init_syscall32(void) { syscall32_page = (void *)get_zeroed_page(GFP_KERNEL);