-
Seth Forshee authored
Superblock level remounts are currently restricted to global CAP_SYS_ADMIN, as is the path for changing the root mount to read only on umount. Loosen both of these permission checks to also allow CAP_SYS_ADMIN in any namespace which is privileged towards the userns which originally mounted the filesystem. Signed-off-by:
Seth Forshee <seth.forshee@canonical.com> Acked-by:
"Eric W. Biederman" <ebiederm@xmission.com> Acked-by:
Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by:
Tim Gardner <tim.gardner@canonical.com>
05b459a0