]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: android: binder: Don't call dump_stack in binder_vma_open
authorArve Hjønnevåg <arve@android.com>
Sat, 21 Jan 2012 03:56:21 +0000 (19:56 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2012 22:14:13 +0000 (14:14 -0800)
If user-space partially unmaps the driver, binder_vma_open
would dump the kernel stack. This is not a kernel bug however
and will be treated as if the whole area was unmapped once
binder_vma_close gets called.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/binder.c

index 7491801a661c683f8b0f5fe9c11f8c7c1e1d1b33..48cf27cdb51a1f907a18f5d03d6c44285432ff9e 100644 (file)
@@ -2759,7 +2759,6 @@ static void binder_vma_open(struct vm_area_struct *vma)
                     proc->pid, vma->vm_start, vma->vm_end,
                     (vma->vm_end - vma->vm_start) / SZ_1K, vma->vm_flags,
                     (unsigned long)pgprot_val(vma->vm_page_prot));
-       dump_stack();
 }
 
 static void binder_vma_close(struct vm_area_struct *vma)