]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc988722dfdc516fc4cce40715974283f8b92da1
tree9a7aa97bc73f96d5a72cd286d9a47905dbe1d8f1
parent8274db3b1188a45c63c3d11626cadb881e91e012
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