aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2020-08-06 16:53:59 +0000
committerGreg Kroah-Hartman <[email protected]>2020-09-03 16:21:35 +0000
commite8b8ae7ce32e17a5c29f0289e9e2a39c7dcaa1b8 (patch)
tree15d2cc1ef2388442d609006fe25e026491576c05 /drivers/android/binder_alloc.c
parentMerge 5.9-rc3 into char-misc-next (diff)
downloadkernel-e8b8ae7ce32e17a5c29f0289e9e2a39c7dcaa1b8.tar.gz
kernel-e8b8ae7ce32e17a5c29f0289e9e2a39c7dcaa1b8.zip
binder: Remove bogus warning on failed same-process transaction
While binder transactions with the same binder_proc as sender and recipient are forbidden, transactions with the same task_struct as sender and recipient are possible (even though currently there is a weird check in binder_transaction() that rejects them in the target==0 case). Therefore, task_struct identities can't be used to distinguish whether the caller is running in the context of the sender or the recipient. Since I see no easy way to make this WARN_ON() useful and correct, let's just remove it. Fixes: 44d8047f1d87 ("binder: use standard functions to allocate fds") Reported-by: [email protected] Acked-by: Christian Brauner <[email protected]> Acked-by: Todd Kjos <[email protected]> Signed-off-by: Jann Horn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions