From 28322e1eb6507f2f40418e2dcdc6ee33e38ecee6 Mon Sep 17 00:00:00 2001 From: "Robert \"arachnist\" Gerus" Date: Thu, 22 Jul 2010 15:20:53 +0200 Subject: sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev" --- src/mount-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount-setup.c b/src/mount-setup.c index 6b0539bf97..b6b6a0c94f 100644 --- a/src/mount-setup.c +++ b/src/mount-setup.c @@ -46,7 +46,7 @@ static const MountPoint mount_table[] = { { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID, true }, { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, - { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, + { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC, false }, { "tmpfs", "/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, { "cgroup", "/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, }; -- cgit v1.2.3-54-g00ecf