OSDN Git Service

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, 30 Aug 2017 08:19:26 +0000 (10:19 +0200)
commit9dac44d5d4b0a7fffe04ad505e0a082e900ad767
tree61da52c3c575c4e4c4de342e37d61d42611e3b04
parent1792d6c17cb282fd8e5cd197a8b33cb78484eb6a
ANDROID: binder: fix proc->tsk check.

commit b2a6d1b999a4c13e5997bb864694e77172d45250 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c