diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 8ff7e9f9f7c4..f8a3d29d4e2c 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -2851,7 +2851,7 @@ static void binder_transaction(struct binder_proc *proc, t->from = thread; else t->from = NULL; - t->sender_euid = proc->cred->euid; + t->sender_euid = task_euid(proc->tsk); t->to_proc = target_proc; t->to_thread = target_thread; t->code = tr->code;