diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2015-02-11 18:32:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-11 17:33:36 +0100 |
commit | 6a716208b346b742053cfd01e76f76fb27c4ea47 (patch) | |
tree | 15ea908b54df5b082e80a5f1835210d9e3b13a1d /units/systemd-resolved.service.in | |
parent | c4c086a2e37bb3c869298558ea24864b6606774e (diff) | |
download | systemd-6a716208b346b742053cfd01e76f76fb27c4ea47.tar.gz |
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-resolved.service.in')
-rw-r--r-- | units/systemd-resolved.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in index b643da9a73..00967e3860 100644 --- a/units/systemd-resolved.service.in +++ b/units/systemd-resolved.service.in @@ -21,6 +21,7 @@ Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-resolved CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER +SecureBits=noroot noroot-locked ProtectSystem=full ProtectHome=yes WatchdogSec=1min |