[systemd-devel] [PATCH] mounting /dev/pts noexec causes trouble for grantpts(3)
Mike Kelly
pioto at pioto.org
Tue Oct 12 10:57:59 PDT 2010
grantpt(3) failed: Exec format error
---
src/mount-setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mount-setup.c b/src/mount-setup.c
index d2f05bc..3ca2cca 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -47,7 +47,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, false },
+ { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID, false },
{ "tmpfs", "/sys/fs/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
};
--
1.7.2.3
More information about the systemd-devel
mailing list