diff options
| author | Martijn Coenen <maco@android.com> | 2017-03-07 15:51:18 +0100 |
|---|---|---|
| committer | Runmin Wang <runminw@codeaurora.org> | 2017-04-05 16:51:17 -0700 |
| commit | 9036bcc59e36952da230f31187b1ab2f866ebfae (patch) | |
| tree | 88a9fcf330c1cd1ecd9babe4b80e5a8fad519360 /net/unix/af_unix.c | |
| parent | c5751be200944a09b816a30e5ef698f41e0cfc0f (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.
Bug: 35707103
Test: Created test case to open with temporary thread
Change-Id: Id693f74b3591f3524a8c6e9508e70f3e5a80c588
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Martijn Coenen <maco@android.com>
Git-commit: 359795138dc5440e09c58025e28ec1b38d648c09
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
