Re: [PATCH] staging: ion: remove from the tree

2020-08-27 Thread Hridya Valsaraju
he Android kernel developers) who are both annoyed at > > > > > the current situation. Because of this problem, just drop the > > > > > in-kernel > > > > > copy of the ion code now, as it's not used, and is only causing > > > > > problems > &g

Re: UAF read in print_binder_transaction_log_entry() on ANDROID_BINDERFS kernels

2019-10-07 Thread Hridya Valsaraju
Thank you for letting us know about the issue Jann. I will work on a fix and send out the same for review once ready. Regards, Hridya On Mon, Oct 7, 2019 at 2:04 PM Todd Kjos wrote: > > +Hridya Valsaraju > > > On Mon, Oct 7, 2019 at 1:50 PM Jann Horn wrote: > > > >

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
On Wed, Sep 4, 2019 at 7:20 AM Joel Fernandes wrote: > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > wrote: > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > >> Currently, the only way to access binder state and > >> statistics

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
wrote: > > > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > > > >> Currently, the only way to access binder state and > > > >> statistics is through debugfs. We need a way to > > > >> access the same even when debugfs is n

[PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-03 Thread Hridya Valsaraju
/transaction_log /sys/kernel/debug/binder/transactions Hridya Valsaraju (4): binder: add a mount option to show global stats binder: Add stats, state and transactions files binder: Make transaction_log available in binderfs binder: Add binder_proc logging to binderfs drivers/android/binder.c

Re: [PATCH v2 2/4] binder: Add stats, state and transactions files

2019-08-30 Thread Hridya Valsaraju
On Fri, Aug 30, 2019 at 4:32 AM Christian Brauner wrote: > > On Thu, Aug 29, 2019 at 02:18:10PM -0700, Hridya Valsaraju wrote: > > The following binder stat files currently live in debugfs. > > > > /sys/kernel/debug/binder/state > > /sys/kernel/debug/binder/stat

[PATCH 1/4] binder: add a mount option to show global stats

2019-08-27 Thread Hridya Valsaraju
a binderfs instance in another user namespace will return an EPERM error. Signed-off-by: Hridya Valsaraju --- drivers/android/binderfs.c | 47 -- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/drivers/android/binderfs.c b/drivers/android

[PATCH 2/4] binder: Add stats, state and transactions files

2019-08-27 Thread Hridya Valsaraju
instance is mounted at path /dev/binderfs, the above files will be available at the following locations: /dev/binderfs/binder_logs/state /dev/binderfs/binder_logs/stats /dev/binderfs/binder_logs/transactions This provides a way to access them even when debugfs is not mounted. Signed-off-by: Hridya

[PATCH 0/4] Add binder state and statistics to binderfs

2019-08-27 Thread Hridya Valsaraju
/transaction_log /sys/kernel/debug/binder/transactions Hridya Valsaraju (4): binder: add a mount option to show global stats binder: Add stats, state and transactions files binder: Make transaction_log available in binderfs binder: Add binder_proc logging to binderfs drivers/android/binder.c

Re: [PATCH v3 1/2] binder: Add default binder devices through binderfs when configured

2019-08-09 Thread Hridya Valsaraju
On Fri, Aug 9, 2019 at 11:22 AM Christian Brauner wrote: > > On Fri, Aug 09, 2019 at 04:50:16PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Aug 08, 2019 at 03:27:25PM -0700, Hridya Valsaraju wrote: > > > Currently, since each binderfs instance needs its own > > >

[PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-08-08 Thread Hridya Valsaraju
-by: Hridya Valsaraju --- drivers/android/binderfs.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/android/binderfs.c b/drivers/android/binderfs.c index aee46dd1be91..55c5adb87585 100644 --- a/drivers/android/binderfs.c +++ b/drivers/android/binderfs.c @@ -570,6 +570,18