From 2f9df7c96a25adb42093ee3ee201577f3e01da42 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 22 Jun 2016 12:32:59 +0200 Subject: units: add nosuid and nodev options to tmp.mount (#3575) This makes privilege escalation attacks harder by putting traps and exploits into /tmp. https://bugs.debian.org/826377 --- units/tmp.mount.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') diff --git a/units/tmp.mount.m4 b/units/tmp.mount.m4 index 1448bd268a..0baecfd22f 100644 --- a/units/tmp.mount.m4 +++ b/units/tmp.mount.m4 @@ -19,4 +19,4 @@ After=swap.target What=tmpfs Where=/tmp Type=tmpfs -Options=mode=1777,strictatime +Options=mode=1777,strictatime,nosuid,nodev -- cgit v1.2.3-54-g00ecf