diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-21 04:28:58 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-01-27 10:22:21 +0400 |
commit | ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561 (patch) | |
tree | e6dccae5db69231b9f7c4bd362bed2031de7516a /fs/ext2/xip.c | |
parent | e11f0ae388f227d7ad03953e19034dec55286650 (diff) | |
download | linux-ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561.tar.xz |
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/ext2/xip.c')
0 files changed, 0 insertions, 0 deletions