summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-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