commit | 2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5 | [log] [tgz] |
---|---|---|
author | Todd Kjos <tkjos@android.com> | Thu Jun 29 12:02:08 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 17 14:48:24 2017 +0200 |
tree | 4c231a1b44cd8808867d112dced8c650ea0d906f | |
parent | b3e6861283790d78f298f2a1bc3ef5fd81b381f4 [diff] |
binder: protect binder_ref with outer lock Use proc->outer_lock to protect the binder_ref structure. The outer lock allows functions operating on the binder_ref to do nested acquires of node and inner locks as necessary to attach refs to nodes atomically. Binder refs must never be accesssed without holding the outer lock. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>