Re: [PATCH v2] binder: implement binderfs

2018-12-14 Thread Christian Brauner
On Fri, Dec 14, 2018 at 10:11:23AM +0300, Dan Carpenter wrote: > On Thu, Dec 13, 2018 at 10:59:11PM +0100, Christian Brauner wrote: > > +/** > > + * binderfs_new_inode - allocate inode from super block of a binderfs mount > > + * @ref_inode: inode from wich the super block will be taken > > + * @us

Re: [PATCH v2] binder: implement binderfs

2018-12-13 Thread Dan Carpenter
On Thu, Dec 13, 2018 at 10:59:11PM +0100, Christian Brauner wrote: > +/** > + * binderfs_new_inode - allocate inode from super block of a binderfs mount > + * @ref_inode: inode from wich the super block will be taken > + * @userp: buffer to copy information about new device for userspace to > +

[PATCH v2] binder: implement binderfs

2018-12-13 Thread Christian Brauner
As discussed at Linux Plumbers Conference 2018 in Vancouver [1] this is the implementation of binderfs. /* Abstract */ binderfs is a backwards-compatible filesystem for Android's binder ipc mechanism. Each ipc namespace will mount a new binderfs instance. Mounting binderfs multiple times at differ