summaryrefslogtreecommitdiff
path: root/units/systemd-udevd.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-02-19 00:30:12 +0200
committerTopi Miettinen <toiwoton@gmail.com>2019-02-20 10:50:44 +0200
commit99894b867f1293f56d181d62f5015c5a0a8adbda (patch)
tree9b5dd7abaeee2127719bb3cc5baa4889df4e5bb0 /units/systemd-udevd.service.in
parentaecd5ac6218f6291186b530b89cf2e97333fffc0 (diff)
downloadsystemd-99894b867f1293f56d181d62f5015c5a0a8adbda.tar.gz
units: enable ProtectHostname=yes
Diffstat (limited to 'units/systemd-udevd.service.in')
-rw-r--r--units/systemd-udevd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index 6a3814e5d9..fb98ca4d43 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -26,6 +26,7 @@ KillMode=mixed
WatchdogSec=3min
TasksMax=infinity
PrivateMounts=yes
+ProtectHostname=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6