ANDROID: binder: fix proc->tsk check.

Commit c4ea41ba195d ("binder: use group leader instead of open thread")'
was incomplete and didn't update a check in binder_mmap(), causing all
mmap() calls into the binder driver to fail.

Signed-off-by: Martijn Coenen <maco@android.com>
Tested-by: John Stultz <john.stultz@linaro.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by Martijn Coenen and committed by Greg Kroah-Hartman b2a6d1b9 ef954844

Changed files
+1 -1
drivers
android
+1 -1
drivers/android/binder.c
··· 3362 3362 const char *failure_string; 3363 3363 struct binder_buffer *buffer; 3364 3364 3365 - if (proc->tsk != current) 3365 + if (proc->tsk != current->group_leader) 3366 3366 return -EINVAL; 3367 3367 3368 3368 if ((vma->vm_end - vma->vm_start) > SZ_4M)