summaryrefslogtreecommitdiff
path: root/units/systemd-logind.service.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-logind.service.in
parentb9c59555b1b06b28a8ec0d99348b7864d3ad5465 (diff)
units: enable MemoryDenyWriteExecute (#3459)
Secure daemons shipped by systemd by enabling MemoryDenyWriteExecute. Closes: #3459
Diffstat (limited to 'units/systemd-logind.service.in')
-rw-r--r--units/systemd-logind.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index ff049134ee..67e2c34482 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -25,6 +25,7 @@ RestartSec=0
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
WatchdogSec=3min
+MemoryDenyWriteExecute=yes
# Increase the default a bit in order to allow many simultaneous
# logins since we keep one fd open per session.