FROMLIST: binder: protect binder_ref with outer lock
(from https://patchwork.kernel.org/patch/9817771/ ) 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. Change-Id: Icf6add0eddf70473b39239960b2d9a524775b53a Signed-off-by:Todd Kjos <tkjos@google.com>
Loading
Please register or sign in to comment