summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorEric W. Biederman2012-08-21 02:28:58 +0200
committerEric W. Biederman2013-01-27 07:22:21 +0100
commitec2aa8e8dd7d35524a68c89b9e7ceb07fb002561 (patch)
treee6dccae5db69231b9f7c4bd362bed2031de7516a /fs/ramfs
parentuserns: Recommend use of memory control groups. (diff)
downloadkernel-qcow2-linux-ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561.tar.gz
kernel-qcow2-linux-ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561.tar.xz
kernel-qcow2-linux-ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561.zip
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 <serge.hallyn@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions