Re: [PATCH] binder: Remove bogus warning on failed same-process transaction

2020-08-07 Thread Christian Brauner
On Thu, Aug 06, 2020 at 06:53:59PM +0200, Jann Horn wrote: > 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_transacti

Re: [PATCH] binder: Remove bogus warning on failed same-process transaction

2020-08-06 Thread Todd Kjos
On Thu, Aug 6, 2020 at 9:54 AM Jann Horn wrote: > > 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() tha

[PATCH] binder: Remove bogus warning on failed same-process transaction

2020-08-06 Thread Jann Horn
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_stru