ANDROID: binder: don't enqueue death notifications to thread todo.
authorMartijn Coenen <maco@android.com>
Thu, 31 Aug 2017 08:04:28 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Sep 2017 07:22:50 +0000 (09:22 +0200)
commitbb74562a7f8398231be20a5c9d36225301a9be31
tree9a7aa97bc73f96d5a72cd286d9a47905dbe1d8f1
parent858b2719686ddd0ab5fc77479a46d16f90e6b7da
ANDROID: binder: don't enqueue death notifications to thread todo.

This allows userspace to request death notifications without
having to worry about getting an immediate callback on the same
thread; one scenario where this would be problematic is if the
death recipient handler grabs a lock that was already taken
earlier (eg as part of a nested transaction).

Signed-off-by: Martijn Coenen <maco@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c