summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-25 23:28:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-25 23:28:42 +0200
commita55c7d2ea0033487a3a5b784035689e3bebf6e94 (patch)
treec6f5f20f1acfbdf9503ee4658c055f45550282d8
parent4d91b19eb62d6aa1b8da0699a4664dc97760a4f4 (diff)
mount: add nosuid,nodev,noexec switches to /var/lock and /var/run
-rw-r--r--units/var-lock.mount2
-rw-r--r--units/var-run.mount2
2 files changed, 2 insertions, 2 deletions
diff --git a/units/var-lock.mount b/units/var-lock.mount
index f14ea94d04..0ea2599b71 100644
--- a/units/var-lock.mount
+++ b/units/var-lock.mount
@@ -13,4 +13,4 @@ Before=local-fs.target
What=tmpfs
Where=/var/lock
Type=tmpfs
-Options=mode=775,gid=lock
+Options=mode=775,gid=lock,nosuid,nodev,noexec
diff --git a/units/var-run.mount b/units/var-run.mount
index f786289536..8ccb4bb28e 100644
--- a/units/var-run.mount
+++ b/units/var-run.mount
@@ -13,4 +13,4 @@ Before=local-fs.target
What=tmpfs
Where=/var/run
Type=tmpfs
-Options=mode=755
+Options=mode=755,nosuid,nodev,noexec