summaryrefslogtreecommitdiffstats
path: root/units/systemd-machined.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-machined.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-machined.service.in')
-rw-r--r--units/systemd-machined.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-machined.service.in b/units/systemd-machined.service.in
index 3c46d04f64..0b0bbf272c 100644
--- a/units/systemd-machined.service.in
+++ b/units/systemd-machined.service.in
@@ -20,7 +20,7 @@ CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_C
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
-SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io
+SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
SystemCallArchitectures=native
# Note that machined cannot be placed in a mount namespace, since it