]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ANDROID: binder: fix proc->tsk check.
authorMartijn Coenen <maco@android.com>
Fri, 28 Jul 2017 11:56:08 +0000 (13:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:42:57 +0000 (18:42 -0700)
commitb2a6d1b999a4c13e5997bb864694e77172d45250
tree69e739bfed365dd447dcd7fcb00aa72fa7d4b076
parentef954844c7ace62f773f4f23e28d2d915adc419f
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>
drivers/android/binder.c