summaryrefslogtreecommitdiffstats
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-09 11:22:08 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-09 16:12:03 +0100
commit6489ccfe48bb21a43694b60173a49d140b4fb91f (patch)
tree075be235e4b9a36b844dca405f848b738462191a /units/systemd-hostnamed.service.in
parentunits: lock down coredump service a bit (diff)
downloadsystemd-6489ccfe48bb21a43694b60173a49d140b4fb91f.tar.xz
systemd-6489ccfe48bb21a43694b60173a49d140b4fb91f.zip
units: make use of @reboot and @swap in our long-running service SystemCallFilter= settings
Tighten security up a bit more.
Diffstat (limited to 'units/systemd-hostnamed.service.in')
-rw-r--r--units/systemd-hostnamed.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index 85410adc72..01a8ec9f57 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -27,6 +27,6 @@ MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictNamespaces=yes
RestrictAddressFamilies=AF_UNIX
-SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io
+SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
SystemCallArchitectures=native
ReadWritePaths=/etc