diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 8807727712fd..04a13cc7d074 100755 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -3157,8 +3157,8 @@ static void binder_transaction(struct binder_proc *proc, goto err_dead_binder; } e->to_node = target_node->debug_id; - if (security_binder_transaction(proc->tsk, - target_proc->tsk) < 0) { + if (security_binder_transaction(proc->cred, + target_proc->cred) < 0) { return_error = BR_FAILED_REPLY; return_error_param = -EPERM; return_error_line = __LINE__;