Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Eric W. Biederman
James Bottomley writes: > On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: >> James Bottomley writes: >> >> > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: >> >> Just a couple of quick comments

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Eric W. Biederman
James Bottomley writes: > On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: >> James Bottomley writes: >> >> > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: >> >> Just a couple of quick comments from a very high level design point. >> >> - I think a shiftfs is valuable

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Djalal Harouni
On Sat, May 14, 2016 at 06:46:54AM -0700, James Bottomley wrote: > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > > > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > > > On Wed, May 11, 2016 at 11:33:38AM

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Djalal Harouni
On Sat, May 14, 2016 at 06:46:54AM -0700, James Bottomley wrote: > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > > > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > > > On Wed, May 11, 2016 at 11:33:38AM

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Djalal Harouni
Hi Eric, On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > James Bottomley writes: > > > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > Just a couple of quick comments from a very high level design point. > > - I think a

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-17 Thread Djalal Harouni
Hi Eric, On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > James Bottomley writes: > > > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > Just a couple of quick comments from a very high level design point. > > - I think a shiftfs is valuable in the same way

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread James Bottomley
On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: > James Bottomley writes: > > > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > Just a couple of quick comments from a very high level design point. > > - I think a shiftfs is

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread James Bottomley
On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: > James Bottomley writes: > > > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > > Just a couple of quick comments from a very high level design point. > > - I think a shiftfs is valuable in the same way that overlayfs is >

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Seth Forshee
On Mon, May 16, 2016 at 11:42:46AM -0500, Eric W. Biederman wrote: > Seth Forshee writes: > > > On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > >> I have slowly been working with Seth Forshee on these issues as > >> the last thing I want is to

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Seth Forshee
On Mon, May 16, 2016 at 11:42:46AM -0500, Eric W. Biederman wrote: > Seth Forshee writes: > > > On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > >> I have slowly been working with Seth Forshee on these issues as > >> the last thing I want is to introduce more security

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Eric W. Biederman
Seth Forshee writes: > On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: >> I have slowly been working with Seth Forshee on these issues as >> the last thing I want is to introduce more security bugs right now. >> Seth being a braver man than I

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Eric W. Biederman
Seth Forshee writes: > On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: >> I have slowly been working with Seth Forshee on these issues as >> the last thing I want is to introduce more security bugs right now. >> Seth being a braver man than I am has already merged his

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Seth Forshee
On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > I have slowly been working with Seth Forshee on these issues as > the last thing I want is to introduce more security bugs right now. > Seth being a braver man than I am has already merged his changes into > the Ubuntu

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-16 Thread Seth Forshee
On Sat, May 14, 2016 at 09:21:55PM -0500, Eric W. Biederman wrote: > I have slowly been working with Seth Forshee on these issues as > the last thing I want is to introduce more security bugs right now. > Seth being a braver man than I am has already merged his changes into > the Ubuntu

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-15 Thread James Bottomley
On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: > James if you could see shiftfs with a different set of merits than > what to Djalal is doing I think that would be useful. As it would > allow everyone to concentrate on getting the bugs out of their > solutions. Just to reply to

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-15 Thread James Bottomley
On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote: > James if you could see shiftfs with a different set of merits than > what to Djalal is doing I think that would be useful. As it would > allow everyone to concentrate on getting the bugs out of their > solutions. Just to reply to

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread Eric W. Biederman
James Bottomley writes: > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: Just a couple of quick comments from a very high level design point. - I think a shiftfs is valuable in the same way that overlayfs is valuable. Esepcially in the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread Eric W. Biederman
James Bottomley writes: > On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: Just a couple of quick comments from a very high level design point. - I think a shiftfs is valuable in the same way that overlayfs is valuable. Esepcially in the Docker case where a lot of containers want

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread James Bottomley
On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > > > On Wed, 2016-05-11 at 17:42 +0100,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread James Bottomley
On Sat, 2016-05-14 at 10:53 +0100, Djalal Harouni wrote: > On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > > > On Wed, 2016-05-11 at 17:42 +0100,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread Djalal Harouni
On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: [...] > > > > > > The credentials are

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-14 Thread Djalal Harouni
On Thu, May 12, 2016 at 03:24:12PM -0700, James Bottomley wrote: > On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: [...] > > > > > > The credentials are

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread James Bottomley
On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > > > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > [...] > > > Hmm anyway you are mounting

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread James Bottomley
On Thu, 2016-05-12 at 20:55 +0100, Djalal Harouni wrote: > On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > > > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > [...] > > > Hmm anyway you are mounting

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread Djalal Harouni
On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: [...] > > Hmm anyway you are mounting this on behalf of filesystems, so if you > > add the recursive

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread Djalal Harouni
On Wed, May 11, 2016 at 11:33:38AM -0700, James Bottomley wrote: > On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: [...] > > Hmm anyway you are mounting this on behalf of filesystems, so if you > > add the recursive

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread Djalal Harouni
Hi Dave, Tried to do my xfs homework first! On Fri, May 06, 2016 at 12:50:36PM +1000, Dave Chinner wrote: > On Thu, May 05, 2016 at 11:24:35PM +0100, Djalal Harouni wrote: > > On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-12 Thread Djalal Harouni
Hi Dave, Tried to do my xfs homework first! On Fri, May 06, 2016 at 12:50:36PM +1000, Dave Chinner wrote: > On Thu, May 05, 2016 at 11:24:35PM +0100, Djalal Harouni wrote: > > On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-11 Thread James Bottomley
On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > > On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: > [...] > > > > > > OK, so the way attributes are populated on an inode is via > > > getattr. You intercept

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-11 Thread James Bottomley
On Wed, 2016-05-11 at 17:42 +0100, Djalal Harouni wrote: > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > > On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: > [...] > > > > > > OK, so the way attributes are populated on an inode is via > > > getattr. You intercept

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-11 Thread Djalal Harouni
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: [...] > > > > OK, so the way attributes are populated on an inode is via getattr. > > You intercept that, you change the inode owner and group that are > > installed on

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-11 Thread Djalal Harouni
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: [...] > > > > OK, so the way attributes are populated on an inode is via getattr. > > You intercept that, you change the inode owner and group that are > > installed on

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread James Bottomley
On Wed, 2016-05-11 at 01:53 +0100, Al Viro wrote: > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > > +static int shiftfs_rename2(struct inode *olddir, struct dentry > > *old, > > + struct inode *newdir, struct dentry > > *new, > > +

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread James Bottomley
On Wed, 2016-05-11 at 01:53 +0100, Al Viro wrote: > On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > > +static int shiftfs_rename2(struct inode *olddir, struct dentry > > *old, > > + struct inode *newdir, struct dentry > > *new, > > +

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Al Viro
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > +static int shiftfs_rename2(struct inode *olddir, struct dentry *old, > +struct inode *newdir, struct dentry *new, > +unsigned int flags) > +{ > + struct dentry *rodd =

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Al Viro
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > +static int shiftfs_rename2(struct inode *olddir, struct dentry *old, > +struct inode *newdir, struct dentry *new, > +unsigned int flags) > +{ > + struct dentry *rodd =

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Al Viro
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > mount -t shiftfs Note to self: do not eat while reading l-k...

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Al Viro
On Tue, May 10, 2016 at 04:36:56PM -0700, James Bottomley wrote: > mount -t shiftfs Note to self: do not eat while reading l-k...

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread James Bottomley
On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: > On Thu, 2016-05-05 at 22:49 +0100, Djalal Harouni wrote: > > On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > > > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > > > On Wed, May 04, 2016 at 05:06:19PM -0400,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread James Bottomley
On Thu, 2016-05-05 at 18:08 -0400, James Bottomley wrote: > On Thu, 2016-05-05 at 22:49 +0100, Djalal Harouni wrote: > > On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > > > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > > > On Wed, May 04, 2016 at 05:06:19PM -0400,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Djalal Harouni
On Mon, May 09, 2016 at 04:26:30PM +, Serge Hallyn wrote: > Quoting Djalal Harouni (tix...@gmail.com): > > Hi, [...] > > > > After clone(CLONE_NEWUSER|CLONE_NEWNS|CLONE_MNTNS_SHIFT_UIDGID), setup > > the user namespace mapping, I guess you drop capabilities, do setuid() > > or whatever and

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-10 Thread Djalal Harouni
On Mon, May 09, 2016 at 04:26:30PM +, Serge Hallyn wrote: > Quoting Djalal Harouni (tix...@gmail.com): > > Hi, [...] > > > > After clone(CLONE_NEWUSER|CLONE_NEWNS|CLONE_MNTNS_SHIFT_UIDGID), setup > > the user namespace mapping, I guess you drop capabilities, do setuid() > > or whatever and

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-09 Thread Serge Hallyn
Quoting Djalal Harouni (tix...@gmail.com): > Hi, > > On Wed, May 04, 2016 at 11:30:09PM +, Serge Hallyn wrote: > > Quoting Djalal Harouni (tix...@gmail.com): > > > This is version 2 of the VFS:userns support portable root filesystems > > > RFC. Changes since version 1: > > > > > > * Update

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-09 Thread Serge Hallyn
Quoting Djalal Harouni (tix...@gmail.com): > Hi, > > On Wed, May 04, 2016 at 11:30:09PM +, Serge Hallyn wrote: > > Quoting Djalal Harouni (tix...@gmail.com): > > > This is version 2 of the VFS:userns support portable root filesystems > > > RFC. Changes since version 1: > > > > > > * Update

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-06 Thread Djalal Harouni
Hi, On Wed, May 04, 2016 at 11:30:09PM +, Serge Hallyn wrote: > Quoting Djalal Harouni (tix...@gmail.com): > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity about the feature. >

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-06 Thread Djalal Harouni
Hi, On Wed, May 04, 2016 at 11:30:09PM +, Serge Hallyn wrote: > Quoting Djalal Harouni (tix...@gmail.com): > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity about the feature. >

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Dave Chinner
On Thu, May 05, 2016 at 11:24:35PM +0100, Djalal Harouni wrote: > On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > > This is version 2 of the VFS:userns support portable root filesystems > > > RFC. Changes since

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Dave Chinner
On Thu, May 05, 2016 at 11:24:35PM +0100, Djalal Harouni wrote: > On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > > This is version 2 of the VFS:userns support portable root filesystems > > > RFC. Changes since

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > >> This is version 2 of the VFS:userns support portable root filesystems > >> RFC.

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > >> This is version 2 of the VFS:userns support portable root filesystems > >> RFC. Changes since version 1:

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread James Bottomley
On Thu, 2016-05-05 at 22:49 +0100, Djalal Harouni wrote: > On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > > > On Wed, 2016-05-04 at 16:26 +0200,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread James Bottomley
On Thu, 2016-05-05 at 22:49 +0100, Djalal Harouni wrote: > On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > > > On Wed, 2016-05-04 at 16:26 +0200,

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > > > This is version 2 of the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Thu, May 05, 2016 at 07:56:28AM -0400, James Bottomley wrote: > On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > > > This is version 2 of the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread James Bottomley
On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > > This is version 2 of the VFS:userns support portable root > > > filesystems > > > RFC. Changes since

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread James Bottomley
On Thu, 2016-05-05 at 08:36 +0100, Djalal Harouni wrote: > On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > > This is version 2 of the VFS:userns support portable root > > > filesystems > > > RFC. Changes since

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity about

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Djalal Harouni
On Wed, May 04, 2016 at 05:06:19PM -0400, James Bottomley wrote: > On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > > This is version 2 of the VFS:userns support portable root filesystems > > RFC. Changes since version 1: > > > > * Update documentation and remove some ambiguity about

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On May 4, 2016 7:25 PM, "Dave Chinner" wrote: > > On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > >> This

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On May 4, 2016 7:25 PM, "Dave Chinner" wrote: > > On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > >> This is version 2 of the VFS:userns support

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Dave Chinner
On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > >> This is version 2 of the VFS:userns support portable root filesystems > >> RFC.

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Dave Chinner
On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > >> This is version 2 of the VFS:userns support portable root filesystems > >> RFC. Changes since version 1:

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: >> This is version 2 of the VFS:userns support portable root filesystems >> RFC. Changes since version 1: >> >> * Update documentation and remove some

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: >> This is version 2 of the VFS:userns support portable root filesystems >> RFC. Changes since version 1: >> >> * Update documentation and remove some ambiguity about the feature.

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Dave Chinner
On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Dave Chinner
On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Serge Hallyn
Quoting Djalal Harouni (tix...@gmail.com): > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email address to send the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Serge Hallyn
Quoting Djalal Harouni (tix...@gmail.com): > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email address to send the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread James Bottomley
On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email address

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread James Bottomley
On Wed, 2016-05-04 at 16:26 +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. > * Use a new email address

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Josh Triplett
On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. Thanks for the

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Josh Triplett
On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. Thanks for the

[RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Djalal Harouni
e capable() in init_user_ns if missing. Needs investigation. * Add XFS support. References: === [1] https://www.redhat.com/archives/dm-devel/2016-April/msg00368.html [2] https://lkml.org/lkml/2015/3/15/10 [3] https://raw.githubusercontent.com/OpenDZ/research/master/kernel/mountns-uid

[RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Djalal Harouni
e capable() in init_user_ns if missing. Needs investigation. * Add XFS support. References: === [1] https://www.redhat.com/archives/dm-devel/2016-April/msg00368.html [2] https://lkml.org/lkml/2015/3/15/10 [3] https://raw.githubusercontent.com/OpenDZ/research/master/kernel/mountns-uid