diff options
author | Todd Kjos <tkjos@android.com> | 2017-06-29 12:02:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 14:48:24 +0200 |
commit | 2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5 (patch) | |
tree | 4c231a1b44cd8808867d112dced8c650ea0d906f /drivers/android/Makefile | |
parent | b3e6861283790d78f298f2a1bc3ef5fd81b381f4 (diff) | |
download | lwn-2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5.tar.gz lwn-2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5.zip |
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>
Diffstat (limited to 'drivers/android/Makefile')
0 files changed, 0 insertions, 0 deletions