commit | 51050750181c791410a7e8dc405cc909e264587b | [log] [tgz] |
---|---|---|
author | Todd Kjos <tkjos@android.com> | Thu Jun 29 12:01:36 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 30 10:21:53 2017 +0200 |
tree | 71c11f072341c29aec4dd7b33520536e386792e7 | |
parent | eda70a559187ebc33b8019a50bcc4077030f2ed3 [diff] |
binder: use group leader instead of open thread commit c4ea41ba195d01c9af66fb28711a16cc97caa9c5 upstream. The binder allocator assumes that the thread that called binder_open will never die for the lifetime of that proc. That thread is normally the group_leader, however it may not be. Use the group_leader instead of current. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>