summaryrefslogtreecommitdiff
path: root/src/nspawn.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-06-14 14:15:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-06-14 14:15:40 +0200
commitfbe092cc70bd90af5fc2d746935b51f31a4cc629 (patch)
treee37ce2976984eefad3c8724d1ca754f84e4be47a /src/nspawn.c
parent597b99b09a007dfa8ddfce31c480765b0c7baa6a (diff)
mount /run without MS_NOEXEC
Diffstat (limited to 'src/nspawn.c')
-rw-r--r--src/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn.c b/src/nspawn.c
index 969c961895..b5908d63ff 100644
--- a/src/nspawn.c
+++ b/src/nspawn.c
@@ -117,7 +117,7 @@ static int mount_all(const char *dest) {
{ "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_RDONLY, true },
{ "tmpfs", "/dev", "tmpfs", "mode=755", MS_NOSUID, true },
{ "/dev/pts", "/dev/pts", "bind", NULL, MS_BIND, true },
- { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
+ { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV, true },
#ifdef HAVE_SELINUX
{ "selinux", "/selinux", "selinuxfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_RDONLY, false },
#endif