Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Fri, Aug 07, 2015 at 11:35:31AM -0700, Casey Schaufler wrote: > On 8/7/2015 7:32 AM, Seth Forshee wrote: > > On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: > >> On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: > >>> Seth Forshee writes: > >>> > On Wed, Jul

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Casey Schaufler
On 8/7/2015 7:32 AM, Seth Forshee wrote: > On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: >> On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: >>> Seth Forshee writes: >>> On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > Seth Forshee

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: > On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: > > Seth Forshee writes: > > > > > On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > > >> Seth Forshee writes: > > >> > > >> > Initially this

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 12:11:53PM -0400, Stephen Smalley wrote: > On 08/06/2015 11:44 AM, Seth Forshee wrote: > > On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: > >> On 08/06/2015 10:20 AM, Seth Forshee wrote: > >>> On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 12:11:53PM -0400, Stephen Smalley wrote: On 08/06/2015 11:44 AM, Seth Forshee wrote: On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: On 08/06/2015 10:20 AM, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Casey Schaufler
On 8/7/2015 7:32 AM, Seth Forshee wrote: On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-07 Thread Seth Forshee
On Fri, Aug 07, 2015 at 11:35:31AM -0700, Casey Schaufler wrote: On 8/7/2015 7:32 AM, Seth Forshee wrote: On Thu, Aug 06, 2015 at 09:20:29AM -0500, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Stephen Smalley
On 08/06/2015 11:44 AM, Seth Forshee wrote: > On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: >> On 08/06/2015 10:20 AM, Seth Forshee wrote: >>> On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee writes: > On Wed, Jul 15, 2015 at

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Seth Forshee
On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: > On 08/06/2015 10:20 AM, Seth Forshee wrote: > > On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: > >> Seth Forshee writes: > >> > >>> On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > Seth

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Stephen Smalley
On 08/06/2015 10:20 AM, Seth Forshee wrote: > On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: >> Seth Forshee writes: >> >>> On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee writes: > Initially this will be used to eliminate the

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Seth Forshee
On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: > Seth Forshee writes: > > > On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > >> Seth Forshee writes: > >> > >> > Initially this will be used to eliminate the implicit MNT_NODEV > >> > flag for mounts from

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Seth Forshee
On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Stephen Smalley
On 08/06/2015 10:20 AM, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Stephen Smalley
On 08/06/2015 11:44 AM, Seth Forshee wrote: On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: On 08/06/2015 10:20 AM, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-06 Thread Seth Forshee
On Thu, Aug 06, 2015 at 10:51:16AM -0400, Stephen Smalley wrote: On 08/06/2015 10:20 AM, Seth Forshee wrote: On Wed, Aug 05, 2015 at 04:19:03PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Eric W. Biederman
Seth Forshee writes: > On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: >> Seth Forshee writes: >> >> > Initially this will be used to eliminate the implicit MNT_NODEV >> > flag for mounts from user namespaces. In the future it will also >> > be used for translating ids and

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Seth Forshee
On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: > Seth Forshee writes: > > > Initially this will be used to eliminate the implicit MNT_NODEV > > flag for mounts from user namespaces. In the future it will also > > be used for translating ids and checking capabilities for > >

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Seth Forshee
On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and checking

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-08-05 Thread Eric W. Biederman
Seth Forshee seth.fors...@canonical.com writes: On Wed, Jul 15, 2015 at 09:47:11PM -0500, Eric W. Biederman wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-31 Thread Eric W. Biederman
Amir Goldstein writes: > On Thu, Jul 16, 2015 at 5:47 AM, Eric W. Biederman > wrote: >> Seth Forshee writes: >> >>> Initially this will be used to eliminate the implicit MNT_NODEV >>> flag for mounts from user namespaces. In the future it will also >>> be used for translating ids and checking

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-31 Thread Amir Goldstein
On Thu, Jul 16, 2015 at 5:47 AM, Eric W. Biederman wrote: > Seth Forshee writes: > >> Initially this will be used to eliminate the implicit MNT_NODEV >> flag for mounts from user namespaces. In the future it will also >> be used for translating ids and checking capabilities for >> filesystems

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-31 Thread Eric W. Biederman
Amir Goldstein a...@cellrox.com writes: On Thu, Jul 16, 2015 at 5:47 AM, Eric W. Biederman ebied...@xmission.com wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-31 Thread Amir Goldstein
On Thu, Jul 16, 2015 at 5:47 AM, Eric W. Biederman ebied...@xmission.com wrote: Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-15 Thread Eric W. Biederman
Seth Forshee writes: > Initially this will be used to eliminate the implicit MNT_NODEV > flag for mounts from user namespaces. In the future it will also > be used for translating ids and checking capabilities for > filesystems mounted from user namespaces. > > s_user_ns is initialized in

[PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-15 Thread Seth Forshee
Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and checking capabilities for filesystems mounted from user namespaces. s_user_ns is initialized in alloc_super() and is generally set to

Re: [PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-15 Thread Eric W. Biederman
Seth Forshee seth.fors...@canonical.com writes: Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and checking capabilities for filesystems mounted from user namespaces. s_user_ns is

[PATCH 1/7] fs: Add user namesapace member to struct super_block

2015-07-15 Thread Seth Forshee
Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and checking capabilities for filesystems mounted from user namespaces. s_user_ns is initialized in alloc_super() and is generally set to