From: Eric W. Biederman Date: Fri, 27 Jul 2012 04:42:03 +0000 (-0700) Subject: vfs: Allow unprivileged manipulation of the mount namespace. X-Git-Tag: v3.8-rc1~77^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c55cfc4166d9a0f38de779bd4d75a90afbe7734;p=pandora-kernel.git vfs: Allow unprivileged manipulation of the mount namespace. - Add a filesystem flag to mark filesystems that are safe to mount as an unprivileged user. - Add a filesystem flag to mark filesystems that don't need MNT_NODEV when mounted by an unprivileged user. - Relax the permission checks to allow unprivileged users that have CAP_SYS_ADMIN permissions in the user namespace referred to by the current mount namespace to be allowed to mount, unmount, and move filesystems. Acked-by: "Serge E. Hallyn" Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed