summaryrefslogtreecommitdiffstats
path: root/lib/bch.c
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 /lib/bch.c
parente11f0ae388f227d7ad03953e19034dec55286650 (diff)
downloadblackbird-op-linux-ec2aa8e8dd7d35524a68c89b9e7ceb07fb002561.tar.gz
blackbird-op-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 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud