]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
binder: fix test regression due to sender_euid change
authorTodd Kjos <tkjos@google.com>
Fri, 12 Nov 2021 18:07:20 +0000 (10:07 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 07:44:05 +0000 (08:44 +0100)
commita4b1eb9ff9ac5121bf2a2e967aacebfeb0a8f085
treef8b0967e026749e4c9b0571caf02a508cb7c695a
parent2a1181311481db7b51927713a88e9e26e61ea6c2
binder: fix test regression due to sender_euid change

commit c21a80ca0684ec2910344d72556c816cb8940c01 upstream.

This is a partial revert of commit
29bc22ac5e5b ("binder: use euid from cred instead of using task").
Setting sender_euid using proc->cred caused some Android system test
regressions that need further investigation. It is a partial
reversion because subsequent patches rely on proc->cred.

Fixes: 29bc22ac5e5b ("binder: use euid from cred instead of using task")
Cc: stable@vger.kernel.org # 4.4+
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I9b1769a3510fed250bb21859ef8beebabe034c66
Link: https://lore.kernel.org/r/20211112180720.2858135-1-tkjos@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c