summaryrefslogtreecommitdiff
path: root/units/systemd-networkd.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-02-20 14:12:15 +0100
committerGitHub <noreply@github.com>2019-02-20 14:12:15 +0100
commiteb5149ba7462e0e27a349fcf9f8514440b06067c (patch)
tree53895a7da8fcc6b4bf9eeb42f82fdf529bd750a3 /units/systemd-networkd.service.in
parent37ed15d7edaf59a1fc7c9e3552cd93a83f3814ef (diff)
parent99894b867f1293f56d181d62f5015c5a0a8adbda (diff)
downloadsystemd-eb5149ba7462e0e27a349fcf9f8514440b06067c.tar.gz
Merge pull request #11682 from topimiettinen/private-utsname
core: ProtectHostname feature
Diffstat (limited to 'units/systemd-networkd.service.in')
-rw-r--r--units/systemd-networkd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in
index 472ef045de..5da0e1e330 100644
--- a/units/systemd-networkd.service.in
+++ b/units/systemd-networkd.service.in
@@ -27,6 +27,7 @@ MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
ProtectControlGroups=yes
ProtectHome=yes
+ProtectHostname=yes
ProtectKernelModules=yes
ProtectSystem=strict
Restart=on-failure