summaryrefslogtreecommitdiff
path: root/units/systemd-machined.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2015-02-11 18:32:14 +0200
committerLennart Poettering <lennart@poettering.net>2015-02-11 17:33:36 +0100
commit6a716208b346b742053cfd01e76f76fb27c4ea47 (patch)
tree15ea908b54df5b082e80a5f1835210d9e3b13a1d /units/systemd-machined.service.in
parentc4c086a2e37bb3c869298558ea24864b6606774e (diff)
units: add SecureBits
No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files.
Diffstat (limited to 'units/systemd-machined.service.in')
-rw-r--r--units/systemd-machined.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-machined.service.in b/units/systemd-machined.service.in
index 15f34d9db7..0cb823e60e 100644
--- a/units/systemd-machined.service.in
+++ b/units/systemd-machined.service.in
@@ -16,6 +16,7 @@ After=machine.slice
ExecStart=@rootlibexecdir@/systemd-machined
BusName=org.freedesktop.machine1
CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH
+SecureBits=noroot noroot-locked
WatchdogSec=1min
PrivateTmp=yes
PrivateDevices=yes