chiark / gitweb /
mount: add nosuid,nodev,noexec switches to /var/lock and /var/run
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Oct 2010 21:28:42 +0000 (23:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Oct 2010 21:28:42 +0000 (23:28 +0200)
units/var-lock.mount
units/var-run.mount

index f14ea94..0ea2599 100644 (file)
@@ -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
index f786289..8ccb4bb 100644 (file)
@@ -13,4 +13,4 @@ Before=local-fs.target
 What=tmpfs
 Where=/var/run
 Type=tmpfs
-Options=mode=755
+Options=mode=755,nosuid,nodev,noexec