tmp_suning_uos_patched/drivers/android
Todd Kjos adc1884222 binder: use node->tmp_refs to ensure node safety
When obtaining a node via binder_get_node(),
binder_get_node_from_ref() or binder_new_node(),
increment node->tmp_refs to take a
temporary reference on the node to ensure the node
persists while being used.  binder_put_node() must
be called to remove the temporary reference.

Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 14:48:23 +02:00
..
binder_alloc.c binder: add more debug info when allocation fails. 2017-07-17 14:47:29 +02:00
binder_alloc.h binder: protect against two threads freeing buffer 2017-07-17 14:47:29 +02:00
binder_trace.h binder: refactor binder ref inc/dec for thread safety 2017-07-17 14:48:23 +02:00
binder.c binder: use node->tmp_refs to ensure node safety 2017-07-17 14:48:23 +02:00
Kconfig binder: Add 'hwbinder' to the default devices 2017-03-17 15:10:49 +09:00
Makefile binder: move binder_alloc to separate file 2017-07-17 14:47:29 +02:00