]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-machined.service.in
namespace: implicitly adds DeviceAllow= when RootImage= is set
[thirdparty/systemd.git] / units / systemd-machined.service.in
index f9e789db426ac43586f5777afb10db8eef8eebc5..1200a90a61aa66236670274592aca37857261da5 100644 (file)
@@ -23,7 +23,8 @@ 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 @reboot @swap
+SystemCallFilter=@system-service @mount
+SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
 LockPersonality=yes
 IPAddressDeny=any