Skip to content

Commit 1bff7d7

Browse files
committed
Merge tag 'char-misc-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver fix from Greg KH: "Here is a single binder driver fix for 5.16-rc3. It resolves a problem reported in the set of binder fixes that went into 5.16-rc1. It has been in linux-next for a while with no reported problems" * tag 'char-misc-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: binder: fix test regression due to sender_euid change
2 parents 7033744 + c21a80c commit 1bff7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/android/binder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ static void binder_transaction(struct binder_proc *proc,
27102710
t->from = thread;
27112711
else
27122712
t->from = NULL;
2713-
t->sender_euid = proc->cred->euid;
2713+
t->sender_euid = task_euid(proc->tsk);
27142714
t->to_proc = target_proc;
27152715
t->to_thread = target_thread;
27162716
t->code = tr->code;

0 commit comments

Comments
 (0)