commit | c4ea41ba195d01c9af66fb28711a16cc97caa9c5 | [log] [tgz] |
---|---|---|
author | Todd Kjos <tkjos@android.com> | Thu Jun 29 12:01:36 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 17 14:44:19 2017 +0200 |
tree | 5cfe300d999b4f73470931423fb439a20a089caa | |
parent | a2b18708ee14baec4ef9c0fba96070bba14d0081 [diff] |
binder: use group leader instead of open thread 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> Cc: stable <stable@vger.kernel.org> # 4.4+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>