summaryrefslogtreecommitdiff
path: root/fs/ramfs
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-08-20 17:28:58 -0700
committerEric W. Biederman <ebiederm@xmission.com>2013-01-26 22:22:21 -0800
commitec2aa8e8dd7d35524a68c89b9e7ceb07fb002561 (patch)
treee6dccae5db69231b9f7c4bd362bed2031de7516a /fs/ramfs
parente11f0ae388f227d7ad03953e19034dec55286650 (diff)
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