summaryrefslogtreecommitdiffstats
path: root/units/systemd-logind.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-02-18 23:30:12 +0100
committerTopi Miettinen <toiwoton@gmail.com>2019-02-20 09:50:44 +0100
commit99894b867f1293f56d181d62f5015c5a0a8adbda (patch)
tree9b5dd7abaeee2127719bb3cc5baa4889df4e5bb0 /units/systemd-logind.service.in
parentcore: ProtectHostname= feature (diff)
downloadsystemd-99894b867f1293f56d181d62f5015c5a0a8adbda.tar.xz
systemd-99894b867f1293f56d181d62f5015c5a0a8adbda.zip
units: enable ProtectHostname=yes
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 38a7f269ac..fb6fda4907 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -28,6 +28,7 @@ IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
+ProtectHostname=yes
Restart=always
RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK