From a55c7d2ea0033487a3a5b784035689e3bebf6e94 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Oct 2010 23:28:42 +0200 Subject: [PATCH] mount: add nosuid,nodev,noexec switches to /var/lock and /var/run --- units/var-lock.mount | 2 +- units/var-run.mount | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2