From: Eric W. Biederman Date: Tue, 21 Aug 2012 00:28:58 +0000 (-0700) Subject: userns: Allow the userns root to mount of devpts X-Git-Tag: v3.9-rc1~85^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561;p=pandora-kernel.git userns: Allow the userns root to mount of devpts - The context in which devpts is mounted has no effect on the creation of ptys as the /dev/ptmx interface has been used by unprivileged users for many years. - Only support unprivileged mounts in combination with the newinstance option to ensure that mounting of /dev/pts in a user namespace will not allow the options of an existing mount of devpts to be modified. - Create /dev/pts/ptmx as the root user in the user namespace that mounts devpts so that it's permissions to be changed. Acked-by: Serge Hallyn Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed