userns: Allow unprivilged mounts of proc and sysfs
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 27 Jul 2012 12:56:48 +0000 (05:56 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 20 Nov 2012 12:19:18 +0000 (04:19 -0800)
commit4f326c0064b20b78b8041f4d2f6fe188a1129f18
tree867ddce014cb780460130ecf5924069d588fa9c9
parentc450f371d48557e3e0fa510a4af27b92f0d8c4cc
userns: Allow unprivilged mounts of proc and sysfs

- The context in which proc and sysfs are mounted have no
  effect on the the uid/gid of their files so no conversion is
  needed except allowing the mount.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/proc/root.c
fs/sysfs/mount.c