summaryrefslogtreecommitdiffstats
path: root/units/systemd-importd.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-importd.service.in
parentcore: ProtectHostname= feature (diff)
downloadsystemd-99894b867f1293f56d181d62f5015c5a0a8adbda.tar.xz
systemd-99894b867f1293f56d181d62f5015c5a0a8adbda.zip
units: enable ProtectHostname=yes
Diffstat (limited to 'units/systemd-importd.service.in')
-rw-r--r--units/systemd-importd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-importd.service.in b/units/systemd-importd.service.in
index 20704a8232..38b7d7e94b 100644
--- a/units/systemd-importd.service.in
+++ b/units/systemd-importd.service.in
@@ -20,6 +20,7 @@ KillMode=mixed
CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
NoNewPrivileges=yes
MemoryDenyWriteExecute=yes
+ProtectHostname=yes
RestrictRealtime=yes
RestrictNamespaces=net
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6