From: Lennart Poettering Date: Mon, 25 Oct 2010 21:28:42 +0000 (+0200) Subject: mount: add nosuid,nodev,noexec switches to /var/lock and /var/run X-Git-Tag: v12~161 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a55c7d2ea0033487a3a5b784035689e3bebf6e94;hp=4d91b19eb62d6aa1b8da0699a4664dc97760a4f4 mount: add nosuid,nodev,noexec switches to /var/lock and /var/run --- diff --git a/units/var-lock.mount b/units/var-lock.mount index f14ea94d0..0ea2599b7 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 f78628953..8ccb4bb28 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