diff options
| author | Todd Kjos <tkjos@android.com> | 2017-06-29 22:02:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 15:48:24 +0300 |
| commit | 2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5 (patch) | |
| tree | 4c231a1b44cd8808867d112dced8c650ea0d906f /include | |
| parent | b3e6861283790d78f298f2a1bc3ef5fd81b381f4 (diff) | |
| download | linux-2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
