Re: [PATCH v2 2/7] userns: Simpilify MNT_NODEV handling.

2015-08-17 Thread Seth Forshee
On Mon, Aug 10, 2015 at 04:05:13PM -0500, Seth Forshee wrote: > From: "Eric W. Biederman" > > - Consolidate the testing if a device node may be opened in a new > function may_open_dev. > > - Move the check for allowing access to device nodes on filesystems > not mounted in the initial user

Re: [PATCH v2 2/7] userns: Simpilify MNT_NODEV handling.

2015-08-17 Thread Seth Forshee
On Mon, Aug 10, 2015 at 04:05:13PM -0500, Seth Forshee wrote: From: Eric W. Biederman ebied...@xmission.com - Consolidate the testing if a device node may be opened in a new function may_open_dev. - Move the check for allowing access to device nodes on filesystems not mounted in the

[PATCH v2 2/7] userns: Simpilify MNT_NODEV handling.

2015-08-10 Thread Seth Forshee
From: "Eric W. Biederman" - Consolidate the testing if a device node may be opened in a new function may_open_dev. - Move the check for allowing access to device nodes on filesystems not mounted in the initial user namespace from mount time to open time and include it in may_open_dev.

[PATCH v2 2/7] userns: Simpilify MNT_NODEV handling.

2015-08-10 Thread Seth Forshee
From: Eric W. Biederman ebied...@xmission.com - Consolidate the testing if a device node may be opened in a new function may_open_dev. - Move the check for allowing access to device nodes on filesystems not mounted in the initial user namespace from mount time to open time and include it