[RFC PATCH 2/2] loop: Permit priveleged operations within user namespaces

2014-05-27 Thread Seth Forshee
Priveleged operations should be allowed on loop devices within a devloop mount by root within the user namespace which owns the mount. Stash away the namespace at mount time and allow CAP_SYS_ADMIN within this namespace to perform priveleged operations on loop devices. Signed-off-by: Seth Forshee

[RFC PATCH 2/2] loop: Permit priveleged operations within user namespaces

2014-05-27 Thread Seth Forshee
Priveleged operations should be allowed on loop devices within a devloop mount by root within the user namespace which owns the mount. Stash away the namespace at mount time and allow CAP_SYS_ADMIN within this namespace to perform priveleged operations on loop devices. Signed-off-by: Seth Forshee