Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9036bcc5 authored by Martijn Coenen's avatar Martijn Coenen Committed by Runmin Wang
Browse files

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.

Bug: 35707103
Test: Created test case to open with temporary thread

Change-Id: Id693f74b3591f3524a8c6e9508e70f3e5a80c588
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Signed-off-by: default avatarMartijn Coenen <maco@android.com>
Git-commit: 35979513
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent c5751be2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment