summaryrefslogtreecommitdiff
path: root/units/systemd-resolved.service.m4.in
diff options
context:
space:
mode:
authorTopi Miettinen <topimiettinen@users.noreply.github.com>2016-06-08 12:23:37 +0000
committerLennart Poettering <lennart@poettering.net>2016-06-08 14:23:37 +0200
commit40652ca4791fc3ae8f55c74b16227c0682b287b9 (patch)
treea2ecd63b75bcd3be18596d4b57946cdfe8585da6 /units/systemd-resolved.service.m4.in
parentb9c59555b1b06b28a8ec0d99348b7864d3ad5465 (diff)
units: enable MemoryDenyWriteExecute (#3459)
Secure daemons shipped by systemd by enabling MemoryDenyWriteExecute. Closes: #3459
Diffstat (limited to 'units/systemd-resolved.service.m4.in')
-rw-r--r--units/systemd-resolved.service.m4.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-resolved.service.m4.in b/units/systemd-resolved.service.m4.in
index 8e1c1dea79..07c7658bcc 100644
--- a/units/systemd-resolved.service.m4.in
+++ b/units/systemd-resolved.service.m4.in
@@ -27,6 +27,7 @@ CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRI
ProtectSystem=full
ProtectHome=yes
WatchdogSec=3min
+MemoryDenyWriteExecute=yes
[Install]
WantedBy=multi-user.target